Need Help - 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: Need Help (
/showthread.php?tid=503577)
Need Help -
Tadas - 30.03.2014
Hello, I have problem with commands, server crash when I tipe incorrect command text. I think the problem is in this code:
pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
if(!success )
return SendClientMessage(playerid, RAUDONA,"Tokios komandos nėra! Pagrindinлs komandos:{4FB34D} /komandos");
return 1;
}
Re: Need Help -
Tadas - 30.03.2014
Quote:
Originally Posted by Ralfie
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) SendClientMessage(playerid, RAUDONA,"Tokios komandos nėra! Pagrindinлs komandos:{4FB34D} /komandos"); return 1; }
|
Thanks