16.07.2011, 13:44
Hello, this public timer doesn't give me any warning or error.
Just that text appear for all people on server.
How to make it only for the player?
Just that text appear for all people on server.
pawn Code:
Fuel = SetTimer("FuelTimer",50000,false);
pawn Code:
public FuelTimer()
{
for(new i, g_m = GetMaxPlayers(); i < g_m; i++) if(IsPlayerConnected(i))
{
SetVehicleHealth(mycar7, 150.0);
GameTextForPlayer(i,"CAR WITHOUT FUEL", 5000, 3);
SendClientMessage(i,COLOR_LIGHTBLUE,"NO FUEL FOR THIS CAR");
}
return 1;
}