[Help] Undefined symbol "i"
#5

Quote:
Originally Posted by ApolloScripter
Посмотреть сообщение
Just one more thing, if you can help me, I posted here to avoid posting another unnecessary Thread, the whole command is this:

pawn Код:
ACMD:congelarevento[1](playerid, params[])
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));

    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(e_Participando[i] == true)
        {
            TogglePlayerControllable(i, 0);
        }
    }

    new str[544];
    format(str, sizeof(str), "[ > ] O Administrador {FFFFFF}%s{00D0F6} congelou todos participantes do evento!", name);
    SendClientMessageToAll(COLOR_LIGHTBLUE, str);
    return 1;
}
it is meant to freeze only those who are participating in the event, so I did a check, in case you are participating in the event is as (true), following the command, it was for everyone who is participating to be frozen, but that does not happen, you know why?
Show how did u define "e_Participando" and show the code where you set "e_Participando" to a value.
Reply


Messages In This Thread
[Help] Undefined symbol "i" - by ApolloScripter - 19.11.2018, 17:06
Re: [Help] Undefined symbol "i" - by Mencent - 19.11.2018, 17:08
Re: [Help] Undefined symbol "i" - by ApolloScripter - 19.11.2018, 17:41
Re: [Help] Undefined symbol "i" - by ApolloScripter - 19.11.2018, 17:51
Re: [Help] Undefined symbol "i" - by Leaky - 20.11.2018, 06:03
Re: [Help] Undefined symbol "i" - by ApolloScripter - 20.11.2018, 07:39
Re: [Help] Undefined symbol "i" - by ApolloScripter - 20.11.2018, 19:22
Re: [Help] Undefined symbol "i" - by Electrifying - 20.11.2018, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)