27.11.2011, 02:56
ok so i want when a vehicle the player is driving enters a checkpoint to make sure its between say 250 & 270 degrees for an example. how would i do that ? so far i have this:
just started my first from scratch script so dont slate me or troll it isnt helpful =[
PHP код:
if(strcmp(cmdtext, "/goto", true) ==0
{
SetPlayerCheckpoint(playerid,1421.7950,-914.9064,36.0469);
if (IsPlayerInCheckpoint(playerid))
{
// if player's vehicle is between 250-270 degrees
{
SendClientMessage(playerid, COLOR_RED, "sentence 1");
SendClientMessage(playerid, COLOR_RED, "sentence 2")
else
SendClientMessage(playerid, COLOR_RED, "you need to reverse up to the X")
}
}
}