please help
#3

when i remove playerid from Stock i got this errors
PHP код:
D:\Downloads\ZombieWorld\pawno\include\SRB.inc(154) : error 017undefined symbol "playerid"
D:\Downloads\ZombieWorld\filterscripts\reality.pwn(396) : error 035argument type mismatch (argument 1)
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Edit:
does not matter did it like that, without Stock

PHP код:
COMMAND:radio(playerid,params[])
{
    new 
text[256];
    if(
sscanf(params,"s",text)) return SendClientMessage(playerid,COLOR_RED,"Usage: /radio [Text]");
    else
    {
        new 
textmessage[256];
        
format(textmessagesizeof(textmessage), "{FF0000}[Radio]{ADD8E6}%s",text);
        for(new 
loopplayers 0loopplayers<MAX_PLAYERSloopplayers ++)
        {
            if(
IsPlayerConnected(loopplayers))
            {
                if(
RLTnfo[loopplayers][Radio] == 1)
                 {
                    if(
RLTnfo[loopplayers][RadioHZ] == RLTnfo[playerid][RadioHZ])
                    {
                        
SendClientMessage(loopplayers,COLOR_LIGHTBLUE,textmessage);
                    }
                }
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
please help - by rumen98 - 15.05.2014, 21:41
Re: please help - by DavidBilla - 15.05.2014, 22:10
Re: please help - by rumen98 - 15.05.2014, 22:14
Re: please help - by DavidBilla - 15.05.2014, 22:22
Re: please help - by RenSoprano - 15.05.2014, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)