Pawno compiler has stopped working
#1

I don't know what's up with my script, I'm trying to make a radio (my sd private radio works fine) which shows the messages to FD and SD but if SD produce a message it will say
Код:
(IDCOM) SD-%i %s : %s
and fd, simply adding FD

When I compile I just get not responding/stopped working which means theres something not put correctly and I cant find it.

pawn Код:
if( !strcmp( cmdtext, "/r", true, 2 ) )
    {
        if( !cmdtext[3] ) return SendClientMessage( playerid, COLOR_WHITE, "Usage /r [TEXT]" );
        {
            new str[128], name[24];
            new string[128], name[24];
            GetPlayerName( playerid, name, 24 );
            if(ispolice[playerid] == 1)
            {
                format(str, sizeof str, "(IDCOM) SD %s : %s",name, cmdtext[7] );
                SendAllGovMessage(COLOR_WHITE, str);
                return 1;
            }
            if(isfd[playerid] == 1)
            {
                format(string, sizeof string, "(IDCOM) FD %s : %s",pname, cmdtext[7] );
                SendAllGovMessage(COLOR_BRIGHTRED, string);
                return 1;
            }
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)