[help]my /spawncar is bugging it puts me ina diff 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]my /spawncar is bugging it puts me ina diff vehicle (
/showthread.php?tid=205819)
[help]my /spawncar is bugging it puts me ina diff vehicle -
fangoth1 - 02.01.2011
thanks for having time to look at this and help me
pawn Код:
PutPlayerInVehicle(playerid, SetVehicleNumberPlate(CreateVehicle(vecid, pX, pY, pZ, pA, -1, -1, 900),"Admin Car"), 0);
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
fangoth1 - 02.01.2011
bump?
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
Kaylux - 02.01.2011
That way wont work. Do it like this.
pawn Код:
new vehid = CreateVehicle(vecid,pX, pY, pZ, pA, -1, -1, 900;
PutPlayerInVehicle(playerid, vehid);
SetVehicleNumberPlate(vehid, "Admin Car");
You need to define the vehicle like that.
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
fangoth1 - 02.01.2011
now license plate is a random instead of admincar
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
Kaylux - 02.01.2011
Sorry, Do this.
pawn Код:
new vehid = CreateVehicle(vecid,pX, pY, pZ, pA, -1, -1, 900;
SetVehicleNumberPlate(vehid, "Admin Car");
SetVehicleToRespawn(vehid);
PutPlayerInVehicle(playerid, vehid);
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
fangoth1 - 02.01.2011
nvm i got it i was
pawn Код:
new vehid = CreateVehicle(vecid, pX, pY, pZ, pA, -1, -1, 900);
SetVehicleNumberPlate(vehid, "Admin Car");
PutPlayerInVehicle(playerid, vehid, 0);
thanks for your help though
Re: [help]my /spawncar is bugging it puts me ina diff vehicle -
Mean - 02.01.2011
You can't just put it all in 1 line without ",".