Help with /removecp
#1

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?
Reply
#2

Here, you must return.

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

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

Reply
#3

thx lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)