SA-MP Forums Archive
Help with a job - 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 a job (/showthread.php?tid=82430)



Help with a job - DjSterios - 18.06.2009

Hello. i made a trucker job but i have some problems. first... i want to create a vehicle(id 584) which is trailer to attach to player. and i want if he do it again and he already has a trailer, to send a msg(thats ok i did it) but i did attachtrailertovehicle and its not working. maybe im using it wrong. and i want when im going in the checkpoint to destroy my trailer. Anybody can help? Thanks


Re: Help with a job - Klutty - 18.06.2009

Show us the code that isnt working.

And for the checkpoint:

At top of script:
pawn Код:
new TruckerCP;
Under OnGameModeInit
pawn Код:
TruckerCP = SetPlayerCheckpoint(blah bllabh blah);
And then on OnPlayerEnterCheckpoint,

Just fix what should happen if he enters checkpoint "TruckerCP".


Re: Help with a job - DjSterios - 18.06.2009

i mean.. i have problem with AttachTrailerToVehicle :S i wanna save the car ID Of the car and then to attach it on the vehicle. that i want. To save the Car id of the trailer to attach it on the vehicle.