View Single Post
  #2  
Old 08-13-2013, 07:53 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

e does not exist in croc_spawn

You need to pass it if you are going to use it.

Code:
function event_spawn(e)
    croc_spawn(e);
end

function croc_spawn(e)
    e.self:Shout("hey!");
end
Reply With Quote