SA-MP Forums Archive
Help with /removecp - 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 with /removecp (/showthread.php?tid=647930)



Help with /removecp - BluePlayBG - 13.01.2018

PHP код:
CMD:removecp(playeridparams[])
{
    
DisablePlayerCheckpoint(playerid);
    
SendClientMessage(playeridCOLOR_GREY"You have removed your checkpoints!");

It is compiling fine, but when I try to execute it ingame, it says You have removed your checkpoints! and Unknown Command right after that. Any help?


Re: Help with /removecp - aoky - 13.01.2018

Here, you must return.

PHP код:
CMD:removecp(playeridparams[]) 

    
DisablePlayerCheckpoint(playerid); 
    
SendClientMessage(playeridCOLOR_GREY"You have removed your checkpoints!"); 
    return 
1;




Re: Help with /removecp - BluePlayBG - 13.01.2018

thx lol