SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/05/2014, 11:57 AM   #1
jimis
Huge Clucker
 
Join Date: May 2011
Posts: 278
Reputation: 0
Default some help with a code

PHP Code:
    else if (GetPlayerWantedLevel(pId) >= 1
i have this code on one command anyway i want to make it work if player has >= 1 wanted level AND if he has <=6 wanted level, how i can code it?? thanks
jimis is offline   Reply With Quote
Old 21/05/2014, 11:59 AM   #2
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,828
Reputation: 1401
Default Re: some help with a code

So if the wanted level is between 1 and 6?
pawn Code:
else if (1 <= GetPlayerWantedLevel(pId) <= 6)
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 21/05/2014, 12:02 PM   #3
jimis
Huge Clucker
 
Join Date: May 2011
Posts: 278
Reputation: 0
Default Re: some help with a code

Quote:
Originally Posted by Konstantinos View Post
So if the wanted level is between 1 and 6?
pawn Code:
else if (1 <= GetPlayerWantedLevel(pId) <= 6)
yea thanks man!!
jimis 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
How to make when using pawno and type part of the code, to show the full code ? bustern Scripting Help 10 28/08/2013 09:10 AM
just an example code Fernado Samuel Scripting Help 3 13/01/2013 09:13 PM
[Tool/Web/Other] Code Highlighter - Highlight code to find brackets, organize code, ... Sinner Tools and Files 8 09/03/2012 01:28 PM
little help with this code freak_man Everything and Nothing 6 18/01/2012 01:07 PM
Get ride of wepons on Spawn code | need code cssbart Help Archive 5 19/04/2010 06:05 PM


All times are GMT. The time now is 04:09 PM.


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