Please help me please...
#1

I cant use any command in my server , there is zcmd , When I write somethings on chat Icant read it When I enter a wrong command it does not say "server unknown command" and I cant use any command in my server please help please
Reply
#2

If you want it to say SERVER: Unkown Command, use this code.

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_WHITE, "SERVER: Unknown command.");
    return 1;
}
and make sure you are putting return 1; at the end of each command and formatting them properly

pawn Код:
#define COLOR_WHITE 0xFFFFFFAA
Reply
#3

Quote:
Originally Posted by Kestro
Посмотреть сообщение
If you want it to say SERVER: Unkown Command, use this code.

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_WHITE, "SERVER: Unknown command.");
    return 1;
}

and make sure you are putting return 1; at the end of each command and formatting them properly
Fail, how do you know he has already defined COLOR_WHITE in his script.

Change COLOR_WHITE to -1
Reply
#4

Quote:
Originally Posted by FunnyBear
Посмотреть сообщение
Fail, how do you know he has already defined COLOR_WHITE in his script.

Change COLOR_WHITE to -1
Dude, stop going off topic, I even posted the #define for it. I can see where your -4 rep comes from. get mad.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)