[Help] Radio chat
#8

Quote:
Originally Posted by aspire5630
Errors
Код:
C:\Users\Jordan\Desktop\stunt\filterscripts\Untitled.pwn(10) : error 017: undefined symbol "sendername"
C:\Users\Jordan\Desktop\stunt\filterscripts\Untitled.pwn(10) : error 017: undefined symbol "sendername"
C:\Users\Jordan\Desktop\stunt\filterscripts\Untitled.pwn(10) : error 029: invalid expression, assumed zero
C:\Users\Jordan\Desktop\stunt\filterscripts\Untitled.pwn(10) : fatal error 107: too many error messages on one line
do new
pawn Код:
new sendername[MAX_PLAYER_NAME];


pawn Код:
if (TEAM_COP[playerid] == 1)
        {
            if(!strlen(cmdtext[2])) return SendClientMessage(playerid, ORANGE, "[USAGE]: //<text>"),
SendClientMessage(playerid, ORANGE, "HELP: Example: //HI");
new sendername[MAX_PLAYER_NAME];
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "Admin [%i]%s: %s" ,playerid,sendername, cmdtext[2]);
            SendClientMessageToCop(DARKPINK, string, 1);
            return 1;
        }

Reply


Messages In This Thread
[Help] Radio chat - by aspire5630 - 07.10.2009, 17:24
Re: [Help] Radio chat - by TheFailFactor - 07.10.2009, 18:09
Re: [Help] Radio chat - by Clank - 07.10.2009, 19:27
Re: [Help] Radio chat - by Hiitch - 07.10.2009, 19:45
Re: [Help] Radio chat - by aspire5630 - 07.10.2009, 19:57
Re: [Help] Radio chat - by Hiitch - 07.10.2009, 21:22
Re: [Help] Radio chat - by aspire5630 - 07.10.2009, 22:03
Re: [Help] Radio chat - by mirkoiz - 07.10.2009, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)