#1

....
Reply
#2

Write the code..
Reply
#3

....
Reply
#4

Try this
pawn Код:
OnPlayerCommandText(playerid, cmdtext[])
{  
 if (strcmp("/cmds", cmdtext, true, 10) == 0)    
 {              
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /help command!");      
 return 1;  
 }  
 return 0;}
Edit: Using mobile, that's why I can't fix the loose destination error.
Edit1: Fixed a bracket.
Reply
#5

Your code is basiclly dead, you have everything out of place lol here is the correct one
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/cmds", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /help command!");
        return 1;
    }
    return 0;
}
Reply
#6

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)