SA-MP Forums Archive
*** Not a descriptive title - ******. - 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: *** Not a descriptive title - ******. (/showthread.php?tid=395098)



*** Not a descriptive title - ******. - Hugoca - 25.11.2012

I wanna when player enter vehicle id 574 to get message:"Sweeper:You can start job with /sweeper".This is my code:
pawn Code:
if(GetPlayerVehicleID(playerid) == 574)
     {
         SendClientMessage(playerid, COLOR_RED, "Sweeper:You can start job with /sweeper");
     }



Re: Where i wrong? - -=Dar[K]Lord=- - 25.11.2012

pawn Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574)
     {
         SendClientMessage(playerid, COLOR_RED, "Sweeper:You can start job with /sweeper");
     }



Re: Where i wrong? - Hugoca - 25.11.2012

Quote:
Originally Posted by -=Dar[K]Lord=-
View Post
pawn Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574)
     {
         SendClientMessage(playerid, COLOR_RED, "Sweeper:You can start job with /sweeper");
     }
Thanks