[Ajuda] undefined symbol "Player"
#1

Galera to com esse problema na minha GameMod, vocкs poderia me ajudar?




PHP код:
C:\Users\Warlley vieira\Desktop\teste\gamemodes\aprendendo.pwn(238) : error 017undefined symbol "Player"
C:\Users\Warlley vieira\Desktop\teste\gamemodes\aprendendo.pwn(238) : warning 215expression has no effect
C
:\Users\Warlley vieira\Desktop\teste\gamemodes\aprendendo.pwn(238) : error 001expected token";"but found "]"
C:\Users\Warlley vieira\Desktop\teste\gamemodes\aprendendo.pwn(238) : error 029invalid expressionassumed zero
C
:\Users\Warlley vieira\Desktop\teste\gamemodes\aprendendo.pwn(238) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

COMANDO COM ERRO:

PHP код:
CMD:setadmin(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid) && Player[playerid][Admin] < ) return SendClientMessage(playeridVermelho"[ERRO]: {FF0000}Vocк Nгo Tem Permissгo!.");
    new 
PlayerIDSetadoLevelMensagem[256];
    if(
sscanf(params"ud"PlayerIDSetadoLevel)) return SendClientMessage(playeridVermelho"[SERVER]» {FFFFFF}Use: /setadmin ID Level.");
    if (
PlayerIDSetado == INVALID_PLAYER_ID) return SendClientMessage(playeridVermelho"[SERVER]: {FFFFFF}Player Invalido!.");
    if(
Level || Level == 0) return SendClientMessage(playeridVermelho"[SERVER] {FF0000}Leveis De 1 a 5!.");
    
format(Mensagemsizeof(Mensagem), "AdmCMD: O Admin %s Promoveu o Player %s para Administrador level: %d. ",GetPlayerNameEx(playerid), GetPlayerNameEx(PlayerIDSetado), Level);
    
SendClientMessageToAll0xFFDEADAAMensagem);
    
Player[PlayerIDSetado][Admin] = Level;
    return 
1;

Reply


Messages In This Thread
undefined symbol "Player" - by Warlley - 05.06.2017, 02:19
Re: undefined symbol "Player" - by LucasF - 05.06.2017, 03:43
Re: undefined symbol "Player" - by DarkBr - 05.06.2017, 04:04
Re: undefined symbol "Player" - by Warlley - 05.06.2017, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)