16.08.2012, 23:29
You can use this
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerInRangeOfPoint(playerid,4.0,0,0,0))// Add here the checkpoint x,y,z cords
{
if(newkeys == KEY_WALK)//Thats for the left alt
{
//add Rob code here
}
}
return 1;
}