[FilterScript] Dynamic Dialogs: Weapons
#8

Quote:
Originally Posted by Abagail
Посмотреть сообщение
So the money has to be exactly that of an AK-47? The correct code would be
pawn Код:
if(GetPlayerMoney(playerid) < ak47)
.
It should be >= (greater than or equal to) because your code checks if player's cash is lesser than ak47's cash.

EDIT : Nvm, I'm wrong. I had been thinking that it first checks the cash value and then execute, but the fact is that it directly returns with a message. However, '!=' isn't what you should've used.
Reply


Messages In This Thread
Dynamic Dialogs: Weapons - by Blunt - 14.10.2014, 14:40
Re: Dynamic Dialogs: Weapons - by Rudy_ - 14.10.2014, 14:43
Re: Dynamic Dialogs: Weapons - by xWarrior - 14.10.2014, 14:44
Re: Dynamic Dialogs: Weapons - by Airblog - 14.10.2014, 16:43
Re: Dynamic Dialogs: Weapons - by Lordzy - 14.10.2014, 17:57
Re: Dynamic Dialogs: Weapons - by Blunt - 14.10.2014, 18:00
Re: Dynamic Dialogs: Weapons - by Abagail - 16.10.2014, 02:20
Re: Dynamic Dialogs: Weapons - by Lordzy - 16.10.2014, 03:52
Re: Dynamic Dialogs: Weapons - by Kyance - 16.10.2014, 05:35
Re: Dynamic Dialogs: Weapons - by SickAttack - 16.10.2014, 05:50

Forum Jump:


Users browsing this thread: 1 Guest(s)