SA-MP Forums Archive
How would i call this?. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How would i call this?. (/showthread.php?tid=102686)



How would i call this?. - [mad]MLK - 16.10.2009

Hey there, I'm just wondering is there a way to call this that i have

Код:
public DMLeave(playerid)
{
  ResetPlayerWeapons(playerid);
  DMZone[playerid] = 0;
}
how would i call this?


Re: How would i call this?. - MenaceX^ - 16.10.2009

IsPlayerInArea I suppose.


Re: How would i call this?. - Lewwy - 16.10.2009

That callback wouldn't work anyway.
You have the playerid parameter inside the callback, which isn't defined in the callback header.


Re: How would i call this?. - [mad]MLK - 16.10.2009

Sorry forgot that it works, What i mean is how would i call it within a command like call that.


Re: How would i call this?. - BMUK - 16.10.2009

DMLeave(playerid);


Re: How would i call this?. - [mad]MLK - 16.10.2009

Thanks a bunch dude