[Error with /r]
#2

"string" is undefined.

pawn Код:
if (strcmp("/r", cmdtext, true, 10) == 0)
{
    new string[64];
    if(GetPlayerTeam(playerid) == 1)
    {
        format(string, sizeof(string), "* Radio: %s: %s", pName, string);
        SendPoliceMessage(COLOR_LIGHTBLUE, string);
    }
    return 1;
}
Reply


Messages In This Thread
[Error with /r] - by Twinki1993 - 12.11.2011, 19:24
Re: [Error with /r] - by Juniior - 12.11.2011, 19:27
Re: [Error with /r] - by aRoach - 12.11.2011, 19:28
Re: [Error with /r] - by Twinki1993 - 12.11.2011, 19:28
Re: [Error with /r] - by Twinki1993 - 12.11.2011, 19:30
Re: [Error with /r] - by Twinki1993 - 12.11.2011, 19:36
Re: [Error with /r] - by Juniior - 12.11.2011, 19:37
Re: [Error with /r] - by =WoR=G4M3Ov3r - 12.11.2011, 19:40
Re: [Error with /r] - by Juniior - 12.11.2011, 19:42
Re: [Error with /r] - by Pharrel - 12.11.2011, 19:43

Forum Jump:


Users browsing this thread: 1 Guest(s)