[HELP] Command to insert and remove player of police does not work
#7

I'm sure if you know what mean intendation. Look at this code:
PHP код:
CMD:me(playeridparams[])  
{  
    new 
msg[200];  
    if(
sscanf(params,"s[200]"msg)) return SendClientMessage(playerid, -1"/me [Message] - Make an action");  
    if(
strlen(msg) >= 26SendSplitMessage(playeridCOLOR_PURPLEmsg[0]);  
    else 
ProxDetector(30playeridmsgCOLOR_PURPLE);   
    return 
1;  

This one is pretty simple and there is intendation.
Now this one have NO intendation:
PHP код:
CMD:me(playeridparams[])  
{  
new 
msg[200];  
if(
sscanf(params,"s[200]"msg)) return SendClientMessage(playerid, -1"/me [Message] - Doing an action");  
if(
strlen(msg) >= 26SendSplitMessage(playeridCOLOR_PURPLEmsg[0]);  
else 
ProxDetector(30playeridmsgCOLOR_PURPLE);   
return 
1;  

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)