23.12.2009, 18:17
My command only works for ID 0 this is it:
This is the part that only works for ID 0: :/
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);
}