Help mysql r39-5 | +rep
#1

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
Код:
error 017: undefined symbol "handle"
and me i use mysql r39-5
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;
}
Reply


Messages In This Thread
Help mysql r39-5 | +rep - by KingPersona - 03.07.2016, 04:04
Re: Help mysql r39-5 | +rep - by itsCody - 03.07.2016, 04:25
Re: Help mysql r39-5 | +rep - by KingPersona - 03.07.2016, 13:06
Re: Help mysql r39-5 | +rep - by TwinkiDaBoss - 03.07.2016, 13:10
Re: Help mysql r39-5 | +rep - by d1git - 03.07.2016, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)