SA-MP Forums Archive
plz add - 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: plz add (/showthread.php?tid=94887)



plz add - BLACK-RIDER-1692 - 01.09.2009

i geting all time errorsplz somebody addthis to in my gamemode

How Can Chenge
When i arrest anyone, if i am cop i need to type /ar (ID).

and after that if i type /ar (id) like is ticket ready to arrest

can arrest somebody and max distance is 2m

and use OnPlayerKeyStateChange and key
KEY_ACTION (Alt Keyboard Button).


Код:
public OnPlayerStateKeyChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_ACTION)
{
// command functions....
}
}
gamemode
http://filebin.ca/dopzwg