SA-MP Forums Archive
HELP Car SYSTEM - 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: HELP Car SYSTEM (/showthread.php?tid=551756)



HELP Car SYSTEM - Xeinss - 20.12.2014

I started to build cars system and I have a problem


script
http://pastebin.com/dVFq7h1V


the problem is when i park the car its work beacuse my car is The First File And If SomeOne want park the car he cant beacuse the car is Nubmer 2 File

sorry my english its Bad


I Can Help Please?


Re: HELP Car SYSTEM - Wingman - 20.12.2014

Try using this advanced one it's better https://sampforum.blast.hk/showthread.php?tid=276887. Or for
Код:
if(strcmp("/CallCar", cmdtext, true, 10) == 0)  {
        new Float:x,Float:y,Float:z;
        GetPlayerPos(playerid,x,y,z);
        SetVehiclePos(DOF2_GetInt(RegisterSys(playerid),"CarID"),x,y,z);
        PutPlayerInVehicle(playerid,DOF2_GetInt(RegisterSys(playerid),"CarFileID"),0);
        return 1;}
Make a statement for false and for
Код:
for(new carid = 1; carid < 300; carid++)
make
Код:
new carid = 1;
to New carid =2;

Try that and see what happens


Re: HELP Car SYSTEM - Xeinss - 21.12.2014

man its not work


Re: HELP Car SYSTEM - Xeinss - 21.12.2014

UP please


Re: HELP Car SYSTEM - Xeinss - 22.12.2014

HElp!