Guest3598475934857938411
Unregistered
Код:
public OnPlayerUpdate(playerid)
{
new vehicleid = GetPlayerVehicleID(playerid);
if (IsPlayerInAnyVehicle(playerid))
{
if (GetVehicleSpeed(vehicleid) <= 110)
{
SendClientMessage(playerid, COLOR_ALERT, "You are going to fast!");
return 1;
}
}
return 1;
}
Posts: 601
Threads: 31
Joined: Jul 2006
Reputation:
0
It's probably cause you are checking if the player speed is less or equal to 110? Try changening the <= to >.
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
I used Cameltoes code and now It does not work at all
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Sorry about this but it still does not work.. :/
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Wow it now works but it kinda spams my screen with the message..?
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
I tried with a timer but i fail..