SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 25/11/2012, 08:20 AM   #1
Hugoca
Big Clucker
 
Join Date: Sep 2012
Posts: 102
Reputation: 0
Default *** Not a descriptive title - ******.

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");
     }
Hugoca is offline   Reply With Quote
Old 25/11/2012, 10:30 AM   #2
-=Dar[K]Lord=-
Huge Clucker
 
-=Dar[K]Lord=-'s Avatar
 
Join Date: Oct 2012
Posts: 351
Reputation: 48
Default Re: Where i wrong?

pawn Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574)
     {
         SendClientMessage(playerid, COLOR_RED, "Sweeper:You can start job with /sweeper");
     }
__________________
Discussion is an exchange of knowledge; argument is an exchange of ignorance...- Robert Quillen

At times, it is better to keep your mouth shut and let people wonder if you are a fool than to open it and remove all their doubts - James Sinelair
-=Dar[K]Lord=- is offline   Reply With Quote
Old 25/11/2012, 10:40 AM   #3
Hugoca
Big Clucker
 
Join Date: Sep 2012
Posts: 102
Reputation: 0
Default Re: Where i wrong?

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
Hugoca is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*** Not a descriptive title - ******. GhostyXL Scripting Help 2 28/12/2015 02:43 AM
*** Not a descriptive title - ******. sscarface Scripting Help 7 25/11/2012 12:33 PM
*** Not a descriptive title - ******. Morkano Scripting Help 6 25/11/2012 12:27 PM
*** This topic title is not descriptive - ****** Zachlive Scripting Help 12 08/11/2012 02:11 PM
*** This topic title is not descriptive - ****** Fernado Samuel Scripting Help 0 08/11/2012 04:48 AM


All times are GMT. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.