check ID
#1

hey i need to know how can i give a checkpoint something like a ID
pawn Код:
Turismo = SetPlayerCheckpoint(playerid, -1539.262817, 133.987518, 2.613937, 8);

public OnPlayerEnterCheckpoint(playerid)
{
   if (checkpoint == Turismo)
   {
   .....
   }
}
it dont work ... nothing happes if i enter the checkpoint
Reply
#2

Quote:

public OnPlayerEnterCheckpoint(playerid)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
{
// Do something here
}
}
return 1;
}

Try this
Reply
#3

i mean something like this ...
a player enter a checkpoint and a special action start ... then the checkpoint disable and a other checkpoint created after 30 seconds (i have the code) i only need to know how i can do it like after the first checkpoint disabled and the next checkpoint spawn a other action start (other action as the first point) if you enter the point
Reply
#4

sorry but i need really help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)