BUD Command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: BUD Command (
/showthread.php?tid=455858)
BUD Command -
RedJohn - 03.08.2013
How to check is variable is for example 20 but using BUD?
For example:
pawn Код:
if(BUD::MultiGet(UserID, "i", "Skin") == 20)
Error: Tag mismatch.
Hope you understood.
EDIT: It's not command as title says. Sorry.
Re: BUD Command -
RedJohn - 04.08.2013
Anybody?
Re: BUD Command -
Bakr - 04.08.2013
The problem is BUD::MultiGet returns a bool on success/failure of the request.
Why are you using it for one result anyway? Use BUD::GetIntEntry. That function also returns the value of what was queried.