My command only works for ID 0 :/
#1

My command only works for ID 0 this is it:

pawn Код:
public C0(playerid)
{
        new string[256];
        format(string, sizeof(string), "~n~~n~~n~~g~ Wojna Gangow!!! ");
        GameTextForAll(string, 8001, 3);
        for(new i; i<MAX_PLAYERS; i++)
        {
          if(IsPlayerConnected(i)) WG40[i] = 0;
        }
        if(ONWG[playerid] == 1)
        {
            TogglePlayerControllable(playerid, 1);
            SetCameraBehindPlayer(playerid);
        PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
        }
}

This is the part that only works for ID 0: :/

pawn Код:
if(ONWG[playerid] == 1)
        {
            TogglePlayerControllable(playerid, 1);
            SetCameraBehindPlayer(playerid);
        PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
        }
Reply


Messages In This Thread
My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 18:17
Re: My command only works for ID 0 :/ - by DeathOnaStick - 23.12.2009, 18:20
Re: My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 18:24
Re: My command only works for ID 0 :/ - by DeathOnaStick - 23.12.2009, 18:26
Re: My command only works for ID 0 :/ - by Joe Staff - 23.12.2009, 18:28
Re: My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 18:29
Re: My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 18:41
Re: My command only works for ID 0 :/ - by mamorunl - 23.12.2009, 18:53
Re: My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 19:09
Re: My command only works for ID 0 :/ - by pawelf94 - 23.12.2009, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)