SA-MP Forums Archive
Press f to enter - 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: Press f to enter (/showthread.php?tid=611599)



Press f to enter - AnoTek - 08.07.2016

I have that:

Код:
if((newkeys==KEY_SECONDARY_ATTACK))
 {
     OnPlayerCommandText(playerid, "/enter");
     OnPlayerCommandText(playerid, "/exit");
 }
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
But there is a problem on my server the commands are on zcmd..how cand i put zcmd commands Instead of

Код:
     OnPlayerCommandText(playerid, "/enter");
     OnPlayerCommandText(playerid, "/exit");
?