SA-MP Forums Archive
[HELP]Securicar from Interior to Outside - 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: [HELP]Securicar from Interior to Outside (/showthread.php?tid=98369)



[HELP]Securicar from Interior to Outside - [NYRP]Mike. - 20.09.2009

Hello guys, I was wondering would it be possable to Send a vehicle from Interior ID 1 to Interior ID 0 when i enter a checkpoint? Thanks

pawn Код:
new Securicar = AddStaticVehicle(428,2070.9138,215.6053,0.4733,90.9421,0,1); // Securicar
    LinkVehicleToInterior(Securicar, 1);
Checkpoint Code:

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
  SetPlayerPos(playerid,2572.0378,1299.3059,10.8203);
  SetPlayerInterior(playerid, 0);
  LinkVehicleToInterior(Securicar, 0);
  DisablePlayerCheckpoint(playerid);
  return 1;
}
pawn Код:
C:\Users\Mike\Desktop\All Desktop Crap\samp02Xserver.win32\filterscripts\bank1.pwn(244) : error 017: undefined symbol "Securicar"
-Mike.