Teleport doesnt work Armyvehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Teleport doesnt work Armyvehicle (
/showthread.php?tid=138739)
Teleport doesnt work Armyvehicle -
sjvt - 02.04.2010
hi, i make a checkpoint for army vehicles!
when a army people drive in a army vehicle and drive to the checkpoint? the teleport doesnt work :S
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{ if(pdebug == 1){printf("[DEBUG] OnPlayerEnterCheckpoint(%d)", playerid);}
if(IsPlayerInRangeOfPoint(playerid, 2, 134.8781,1932.6945,18.9681))
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
if(vehicleid == ArmyVehicle[playerid])
{
if(PlayerInfo[playerid][pRank] == 2)
{
SetPlayerPos(playerid, 2347.8101,2420.2856,10.5474);
}
}
}
return 1;
}
thanks
Re: Teleport doesnt work Armyvehicle -
sjvt - 02.04.2010
Bump