Help me - 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)
+--- Thread: Help me (
/showthread.php?tid=534345)
Help me -
Trevor Gin - 29.08.2014
<REMOVED>
Re: Help me -
arakuta - 29.08.2014
Use OnPlayerKeyStateChange callback to detect Y presses by a player, then just do wathever you want.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_YES)
{
// Do something here if key is Y
}
return 1;
}
Re: Help me -
Trevor Gin - 29.08.2014
Where i can Post it?
in Cellback?
Re: Help me -
Trevor Gin - 29.08.2014
Lol i don't know what do you mean :P