Posts: 427
Threads: 93
Joined: Dec 2014
Reputation:
0
This Will Use it 3 and 4 and 5 and 6 and 7 and 8 ?
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by UltraScripter
happy to help bro !.
|
How come you claim to be UltraScripter, yet can't use && ?
Posts: 617
Threads: 129
Joined: Feb 2014
You can try this
pawn Code:
if(PlayerInfo[playerid][pRank] >= 2)
Posts: 802
Threads: 41
Joined: Oct 2014
Reputation:
0
but he want to make it levles 2-8 only!
Posts: 617
Threads: 129
Joined: Feb 2014
@ ultrascripter that's what I use for a simular system and it works.
Try it
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by astanalol
still not working
line 1299
all cmds
|
His code is wrong, that's why....
Quote:
Originally Posted by UltraScripter
but he want to make it levles 2-8 only!
|
Then use <=8 && >=2 then...
Sheesh... And here you are going around the forums posting up code for +reps, yet still can't use operators efficiently
Use
Code:
if(PlayerInfo[playerid][pRank] => 7 && PlayerInfo[playerid][pRank] =< 8 )
This is why simply pasting up code for +rep SUCKS...
Posts: 617
Threads: 129
Joined: Feb 2014
Quote:
Originally Posted by astanalol
still not working
line 1299
all cmds
|
Quote:
Originally Posted by UltraScripter
but he want to make it levles 2-8 only!
|
Quote:
Originally Posted by Sew_Sumi
His code is wrong, that's why....
Then use <=8 && >=2 then...
Sheesh... And here you are going around the forums posting up code for +reps, yet still can't use operators efficiently
Use
Code:
if(PlayerInfo[playerid][pRank] => 7 && PlayerInfo[playerid][pRank] =< 8 )
This is why simply pasting up code for +rep SUCKS...
|
All of our suggestion a right dude , but he say it didn't work so I suggested something different.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by UltraScripter
you can use || too
|
That's alright if you want to have bugs turn up later...
That will be true, if ANY of the 2 values are correct...
&& Requires BOTH to be true...
Do you see the difference, or you still can't see the point?
&& = AND, || = OR... BIG difference...
Posts: 617
Threads: 129
Joined: Feb 2014
pawn Code:
if(PlayerInfo[playerid][pRank] >= 2)
try this man. It wll only work for level two and higher.