Help with OnPlayerUpdate
#1

So, this is my code:

Код:
public OnPlayerUpdate(playerid)
{
	new vehicleid = GetPlayerVehicleID(playerid);
	if(IsTrailerAttachedToVehicle(vehicleid))
	{
		SendClientMessage(playerid, COLOR_MAXZONE, "Test");
	}
	return 1;
}
For some reason it spams my chat with Test when a trailer is attach. How can I fix this?
Reply


Messages In This Thread
Help with OnPlayerUpdate - by danielpalade - 22.04.2015, 20:50
Re: Help with OnPlayerUpdate - by Azula - 22.04.2015, 20:55
Respuesta: Re: Help with OnPlayerUpdate - by danielpalade - 22.04.2015, 22:52
Re: Help with OnPlayerUpdate - by Abagail - 22.04.2015, 22:55

Forum Jump:


Users browsing this thread: 2 Guest(s)