11.12.2012, 17:28
(
Last edited by Kevin54321; 11/12/2012 at 07:43 PM.
)
.:: SOLVED (see my last post) ::.
Hello people
I have a big problem with the following code:
THIS is working:
I dont know why it fails ...
Do not wonder about the string "47", it will be converted to an integer under EditAccount!
Here is the result, the "failing" query:
"EditAccount(playerid,"Level","47", 0);" will bring:
I Hope anyone can help me with this!
If more details are needed -> Say it here.
Greetz Kevin
Hello people
I have a big problem with the following code:
Code:
Acc("Level","47"); #define Acc("%0","%1"); \ EditAccount(playerid,"%0","%1", 0); \ Account[playerid][%0] = %1; forward EditAccount(playerid,fieldname[],value[MAX_PLAYER_NAME], finished);
Code:
EditAccount(playerid,"Level","47", 0);
Do not wonder about the string "47", it will be converted to an integer under EditAccount!
Here is the result, the "failing" query:
Code:
UPDATE spieler SET %0=0 WHERE SpielerID = 1
Code:
UPDATE spieler SET Level=47 WHERE SpielerID = 1
If more details are needed -> Say it here.
Greetz Kevin