03.07.2016, 04:04
Hello.
i want make this in mysql r39-5 , because in my gm i use mysql r39-5, any one can help me please
when i compile i get this error msg
and me i use mysql r39-5
code
i want make this in mysql r39-5 , because in my gm i use mysql r39-5, any one can help me please
when i compile i get this error msg
Код:
error 017: undefined symbol "handle"
code
Код:
CMD:unbanall(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 5) { new text[500]; //new re[500]; mysql_format (handle, text, sizeof ( text ), "UPDATE ban SET Active = '0''"); mysql_query(handle, text); SendClientMessage(playerid, COLOR_LIGHTRED, "Update bans!"); } return 1; }
Код:
CMD:uninviteall(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 8) { new text[500]; //new re[500]; for(new i=0; i< 3000; i++) { mysql_format (handle, text, sizeof ( text ), "UPDATE users SET Member = '0' AND Rank ='0' AND Model ='24'"); mysql_query(handle, text); } SendClientMessage(playerid, COLOR_LIGHTRED, "Update!"); } return 1; }