Quote:
Originally Posted by Sanady
pawn Код:
new playerid2; static gQuery[60]; format(gQuery,sizeof gQuery,"UPDATE `Accounts` SET `TrashMasterMissions` = '%d' WHERE `ID` = '%d' LIMIT 1;",PInfo[playerid][TrashMasterMissions],PInfo[playerid2][ID]); mysql_query(gQuery);
|
Are you joking with me or something?
Doing "new playerid2;" Will assign playerid2 to 0
It will always retrieve the variable of the playerid 0, that makes no sense!