[Ajuda] Erros comando RC
#1

pawn Код:
if(strcmp(cmdtext, "/respawncarros", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD1, "   Vocк nгo estб autorizado a usar este comando !");
            GetPlayerName(playerid, playername, sizeof(playername));
            if(admtrampando[playerid] == 1 && admhide[playerid] == 1)
            {
                format(string, sizeof(string), "{37E031} Todos os carros foram para seus locais de inicio. By: .");
            }
            else
            {
                format(string, sizeof(string), "{FFFFFF}[{37E031}Atenзгo{FFFFFF}] Todos os veнculos foram para seus locais de inicio. By: {FFEA00}%s.", sendername);
            }
            SendClientMessageToAll(COLOR_RCARRO,string);
            for(new p = 0; p < MAX_PLAYERS; ++p)
            {
                for(new v = 0; v < MAX_VEHICLES; ++v)
                {
                    if(!IsVehicleOccupied(v)) SetVehicleToRespawn(v);
                }
            }
        }
        return 1;
}
Ta dando esses erros:
pawn Код:
C:\Users\LUCI\Desktop\Brasil Start Games- BPS\gamemodes\BPS.pwn(16491) : error 017: undefined symbol "playername"
C:\Users\LUCI\Desktop\Brasil Start Games- BPS\gamemodes\BPS.pwn(16491) : error 017: undefined symbol "playername"
C:\Users\LUCI\Desktop\Brasil Start Games- BPS\gamemodes\BPS.pwn(16491) : error 029: invalid expression, assumed zero
C:\Users\LUCI\Desktop\Brasil Start Games- BPS\gamemodes\BPS.pwn(16491) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Erros comando RC - by Joey Ramone - 12.01.2013, 10:43
Re: Erros comando RC - by .FuneraL. - 12.01.2013, 10:45
Re: Erros comando RC - by Joey Ramone - 12.01.2013, 10:53
Re: Erros comando RC - by Kuddy - 12.01.2013, 11:02
Re: Erros comando RC - by Joey Ramone - 12.01.2013, 15:16
Re: Erros comando RC - by Joey Ramone - 12.01.2013, 20:16
Re: Erros comando RC - by Linow - 12.01.2013, 20:18
Re: Erros comando RC - by Joey Ramone - 12.01.2013, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)