31.03.2013, 18:32
I have a problem with mysql_get_field
Its not setting the value for the player if anyone can help me
pawn Код:
new result[32],result2[32],result3[32];
mysql_get_field("money", result);
mysql_get_field("job", result2);
mysql_get_field("admin", result3);
plInfo[playerid][pMoney] = strval(result);
plInfo[playerid][pStaff] = strval(result2);
GivePlayerMoney(playerid, plInfo[playerid][pMoney]);