Samp - 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: Samp (
/showthread.php?tid=616302)
Samp -
Loinal - 03.09.2016
Hello guys , I started my trucking gamemode from ppc_trucking and i typed in it
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return SendClientMessage(playerid,-1,"{FF0000}[ERROR]{FFFFFF} You have entered and invalid command, Type /cmds to see our server commands.");
}
And still in game SERVER: Unknown Command.
Re: Samp -
Shinja - 03.09.2016
Wut? you use zcmd?
Re: Samp -
Loinal - 03.09.2016
Yes I use
Re: Samp -
Shinja - 03.09.2016
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!succes) return SendClientMessage(playerid,-1,"{FF0000}[ERROR]{FFFFFF} You have entered and invalid command, Type /cmds to see our server commands.");
return 1;
}