Small query not working as its supposed to
#1

I'm attempting to learn PAWN, and I've hit a wall.

Код:
if(ABusinessData[BusID][Owner] == APlayerData[playerid][PlayerName])
{
// do code if true
}
else
{
// do code if false
}
I've debugged the results of
ABusinessData[BusID][Owner] -- This returns "Dave"
APlayerData[playerid][PlayerName] -- This returns "Dave"

----

When I use the query, it always returns true, never false.
Reply


Messages In This Thread
Small query not working as its supposed to - by Stevee - 12.06.2012, 18:28
Re: Small query not working as its supposed to - by iggy1 - 12.06.2012, 18:30
Re: Small query not working as its supposed to - by Stevee - 12.06.2012, 18:33
Re: Small query not working as its supposed to - by iggy1 - 12.06.2012, 18:34
Re: Small query not working as its supposed to - by Stevee - 12.06.2012, 18:37
Re: Small query not working as its supposed to - by Stevee - 12.06.2012, 19:01
Re: Small query not working as its supposed to - by iggy1 - 12.06.2012, 19:21
Re: Small query not working as its supposed to - by Stevee - 12.06.2012, 19:29

Forum Jump:


Users browsing this thread: 2 Guest(s)