taxi driver command
#3

Quote:
Originally Posted by LarzI
View Post
This
pawn Code:
if(vehicle > 431 && 438 && 437 && 420)
is not a valid statement. You'll have to do
pawn Code:
if(x > y && x > z && x > a)
or a switch-statement equivalent.

However, I think you want to check if the player enters a cab? In that case you have to use equation, not difference:
pawn Code:
if( vehicle == 431 || vehicle == 438 || vehicle == 437 || vehicle == 420 )
//if vehicle is 431, 438, 437 OR 420 - any of those will work
thanks

edit : still doesnt work... hmm =/
Reply


Messages In This Thread
taxi driver command - by Maraudeur - 28.01.2013, 11:52
Re: taxi driver command - by LarzI - 28.01.2013, 12:07
Re: taxi driver command - by Maraudeur - 28.01.2013, 12:31

Forum Jump:


Users browsing this thread: