SA-MP Forums

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

Thread Tools Display Modes
Old 12/08/2017, 09:51 PM   #1
Little Clucker
Join Date: Jul 2017
Posts: 12
Reputation: 0
Default Dont't check if the engine on

Hey, I do check in OnPlayerEnterVehicle if the engine off he send msg to player, but the engine on and he send the msg.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
 	if(engine == VEHICLE_PARAMS_OFF || engine == VEHICLE_PARAMS_UNSET)
		SendClientMessage(playerid, COLOR_WHITE, "The engine of this vehicle is off. Use /engine to start it.");
	return 1;
Thanks !

I'm fix it.
Ilaibens is offline   Reply With Quote

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
WOW! Engine problem - Engine starts with Forward(W) KEY! SkiT'aZ Scripting Help 3 22/02/2015 06:28 PM
No error come but script dont work please check Harry_Sandhu Help Archive 8 16/07/2011 11:37 AM
No error come but script dont work please check Harry_Sandhu Help Archive 2 16/07/2011 11:26 AM
[HELP]I just edited my /engine system and when i do /engine it says "unknown Lilcuete Help Archive 2 25/04/2010 02:31 PM
string check dont work Headshot1108 Help Archive 16 17/03/2010 04:45 PM

All times are GMT. The time now is 12:11 PM.

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