SA-MP Forums Archive
Unspawn vehicle - 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)
+--- Thread: Unspawn vehicle (/showthread.php?tid=524560)



Unspawn vehicle - cnoopers - 07.07.2014

vehicle is spawn rather than unspawn
Код:
new vehid[MAX_PLAYERS];
vehid[playerid] = CreateVehicle(Veh1[playerid], x, y, z, angle+90, 0, 0, -1);

//unspawning
DestroyVehicle(vehid[playerid]); //here
i checked it by scm so unspawning code place work correctly