HELP with /b
#6

Quote:
Originally Posted by Matej_
Посмотреть сообщение
Now i get 10-15 errors.

pawn Код:
undefined symbol "idx
You didn't define idx? Isn't that pretty obvious, lol.
Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
Also, why are you still using strcmp for commands like that? =/
YCMD / ZCMD
pawn Код:
CMD:b(playerid, params[])
{
    new string[128], name[MAX_PLAYER_NAME];
    if(isnull(params)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /b [local ooc chat]");
    if(strlen(param) > 80) return SendClientMessage(playerid, COLOR_GRAD2, "Message is too long.");
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s Says: (( %s ))", name, params);
    ProxDetector(20.0, playerid, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
    return 1;
}
Reply


Messages In This Thread
HELP with /b - by Matej_ - 31.01.2011, 13:48
Re: HELP with /b - by bartje01 - 31.01.2011, 13:49
Re: HELP with /b - by [03]Garsino - 31.01.2011, 13:53
Re: HELP with /b - by Matej_ - 31.01.2011, 13:54
Re: HELP with /b - by bartje01 - 31.01.2011, 14:09
Re: HELP with /b - by [03]Garsino - 31.01.2011, 14:19
Re: HELP with /b - by Audiophr3ak - 31.01.2011, 14:23
Re: HELP with /b - by Matej_ - 31.01.2011, 14:27
Re: HELP with /b - by [03]Garsino - 31.01.2011, 14:36

Forum Jump:


Users browsing this thread: 3 Guest(s)