Need pCars help - 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: Need pCars help (
/showthread.php?tid=375169)
Need pCars help -
UnlimitedFreeroam - 05.09.2012
Hello Helpers,
I'm just a beginning scripter and I have a pCars script, and i know how it works blabla, But if i want to use it into my gamemode it isn't working, I guess i'm placing it at the wrong place. Maybe anyone can help me with Teamviewer??
Thanks
Re: Need pCars help -
XtremeR - 05.09.2012
what is the problem that ur facing?
Re: Need pCars help -
UnlimitedFreeroam - 05.09.2012
It's giving me errors, I guess that I'm doing something wrong with it.
Here's the script:
Quote:
if (pCars[playerid] > 1 ) DestroyVehicle(pCars[playerid]);
PutPlayerInVehicle(playerid, CreateVehicle(592, Float, Float:y, Float:z, Float:angle, color1, color2, respawn_delay), 0);
pCars[playerid] = GetPlayerVehicleID(playerid);
#endif
|