Help with this set vehicle VW - 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 with this set vehicle VW (
/showthread.php?tid=246434)
Help with this set vehicle VW -
Tama - 04.04.2011
i found some problem , i want make an vehicle virtual world, like this :
pawn Код:
new vwcar = GetPlayerVehicleID(vehicleid);
SetVehicleVirtualWorld(vwcar , 10);
*when am i wrong , correct me
details : when my car destroyed the car is dissapear , and to get it back use cmd..
the cmd now work perfect..
sorry for bad english..
Re: Help with this set vehicle VW -
Mike Garber - 04.04.2011
pawn Код:
GetPlayerVehicleID(vehicleid);
That's wrong, you're trying to fetch vehicle id from a vehicle id.
You should fetch vehicle id from a player id,
pawn Код:
GetPlayerVehicleID(playerid);