... help
#4

Код:
CMD:vehgod(playerid, params[])
{
	if(IsPlayerInAnyVehicle(playerid))
	{
		GameTextForPlayer(playerid, "~b~~h~~h~~h~Vehicle Godmode Enabled", 5000, 3);
  		SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
  		SetTimerEx("VehGodmode", 500, true, "i", playerid);
		PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
  		return 1;
	}
	SendClientMessage(playerid, -1, "ERROR: You must be in a vehicle to repair.");
	return 1;
}

forward VehGodmode(playerid);
public VehGodmode(playerid);
{
	if(IsPlayerInAnyVehicle(playerid))
	{
  		SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
	}
	SendClientMessage(playerid, -1, "ERROR: You must be in a vehicle to repair.");
	return 1;
}
Reply


Messages In This Thread
... help - by ahameed4755 - 21.09.2015, 14:36
Re: ... help - by SecretBoss - 21.09.2015, 14:44
Re: ... help - by nezo2001 - 21.09.2015, 14:44
Re: ... help - by SecretBoss - 21.09.2015, 14:53
Re: ... help - by ahameed4755 - 21.09.2015, 18:14
Re: ... help - by SecretBoss - 21.09.2015, 20:02
Re: ... help - by JaydenJason - 21.09.2015, 20:06

Forum Jump:


Users browsing this thread: 2 Guest(s)