Calling a callback by myself?
#2

I am not sure, if this will work but you can use function CallLocalFunction

Example, which you can try:

pawn Код:
//public OnPlayerDeath(playerid, killerid, reason)
CallLocalFunction("OnPlayerDeath", "ii", InsertHereYourArguments) //first i = playerid, second i = killerid, third i = ID of the reason
Reply


Messages In This Thread
Calling a callback by myself? - by dusk - 30.05.2014, 10:50
Re: Calling a callback by myself? - by Riwerry - 30.05.2014, 11:31
Re: Calling a callback by myself? - by dusk - 30.05.2014, 11:33
Re: Calling a callback by myself? - by RajatPawar - 30.05.2014, 12:05

Forum Jump:


Users browsing this thread: 2 Guest(s)