[Tutorial] Easy Weapons-Dialog System!
#9

Quote:
Originally Posted by iFarbod
Посмотреть сообщение
Change GetPlayerMoney(playerid) < 2500 to GetPlayerMoney(playerid) <= 2500.
with your code If player has the exact 2500 can't buy it and must have 2501 to able to buy.
but with mine code player can buy with 2500.
Nonsense. The first way is correct. With your "corrected" code, if the player has exactly 2500 it will still send the message, despite the player having enough money.

Quote:
Originally Posted by NaClchemistryK
Посмотреть сообщение
Just saying, I hate using two orperators at one place (except at cases where we have to use " == ") so people who are just like me can use
pawn Код:
if(GetPlayerMoney(playerid) < 2499)
I like mathematical numbers more than orperators, it's just how I like it.
This is also bullshit. They aren't two operators. I'll take you also don't use +=, -=, etc?
Reply


Messages In This Thread
Easy Weapons-Dialog System!NewbieFriendly - by NviDa - 01.05.2014, 16:45
Re: Easy Weapons-Dialog System! - by iFarbod - 01.05.2014, 17:02
Re: Easy Weapons-Dialog System! - by NviDa - 01.05.2014, 17:05
Re: Easy Weapons-Dialog System! - by iFarbod - 01.05.2014, 17:08
Re: Easy Weapons-Dialog System! - by Teemo - 01.05.2014, 17:28
Re: Easy Weapons-Dialog System! - by Roddan - 01.05.2014, 20:31
Re: Easy Weapons-Dialog System! - by NviDa - 02.05.2014, 16:06
Re: Easy Weapons-Dialog System! - by NaClchemistryK - 02.05.2014, 16:16
Re: Easy Weapons-Dialog System! - by Vince - 02.05.2014, 17:04
Re: Easy Weapons-Dialog System! - by NaClchemistryK - 02.05.2014, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)