SA-MP Forums Archive
Have i done something wrong? - 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: Have i done something wrong? (/showthread.php?tid=353800)



Have i done something wrong? - tyler12 - 24.06.2012

http://pastebin.com/JhRquszW

When i type /work in game, it says, You need trailer.
What have i done wrong?

Thanks.


Re: Have i done something wrong? - SuperViper - 24.06.2012

The if check should be this:

pawn Код:
if(GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == 584) {



Re: Have i done something wrong? - tyler12 - 24.06.2012

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
The if check should be this:

pawn Код:
if(GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == 584) {
thanks

repped


Re: Have i done something wrong? - tyler12 - 24.06.2012

[REMOVED]