12.06.2012, 18:28
I'm attempting to learn PAWN, and I've hit a wall.
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.
Код:
if(ABusinessData[BusID][Owner] == APlayerData[playerid][PlayerName]) { // do code if true } else { // do code if false }
ABusinessData[BusID][Owner] -- This returns "Dave"
APlayerData[playerid][PlayerName] -- This returns "Dave"
----
When I use the query, it always returns true, never false.