25.11.2012, 19:11
Hi guyz, my problem is when i goto Zero's Shop it doesn't Set my checkpoint! i dont know why
here is the code
here is the code
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(newinteriorid == 6) {
if(IsPlayerInRangeOfPoint(playerid,50.0,-2239.7114,129.9761,1035.4141)) {
SetPlayerCheckpoint(playerid, -2219.3125,135.7488,1035.6328,3);
}else {
DisablePlayerCheckpoint(playerid);
}
}
return 1;
}
any help plz ???