[HELP] Godmode problem
#1

Код:
public OnPlayerUpdate(playerid)
{
	if(IsGod[playerid])
	{
	    SetPlayerHealth(playerid, 100.0);
		if(IsPlayerInAnyVehicle(playerid))
		{
			SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
		}
	}
}
I have this code, which technically, if the variable IsGod[playerid] = 1 the player is under "godmode" effect.
When i enter my server, with my friend, because of this chunk of code, we are not able to see each other, nor interact...
Can any1 explain this 2 me?
Reply


Messages In This Thread
[HELP] Godmode problem - by viKKmaN - 01.11.2010, 18:49
Re: [HELP] Godmode problem - by Hiddos - 01.11.2010, 19:03
Re: [HELP] Godmode problem - by viKKmaN - 01.11.2010, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)