[Ajuda] diбlogo de erro
#5

Код:
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12120) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12121) : error 017: undefined symbol "tquery"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12122) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12123) : error 017: undefined symbol "tquery"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12142) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12143) : error 017: undefined symbol "tquery"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12144) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12145) : error 017: undefined symbol "tquery"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12169) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12170) : error 017: undefined symbol "tquery"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12171) : error 017: undefined symbol "MySQL"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12172) : error 017: undefined symbol "tquery"
Entгo eu modifiquei:
Код:
if(dialogid == 130)
		{
		    if(!response)
            {
                return 1;
            }
		    switch(listitem)
            {
                case 0:
                {
		            if(PlayerInfo[playerid][pGPPoints] >= 150)
		            {
		                PlayerInfo[playerid][pDonateRank] = 1;
		                PlayerInfo[playerid][pGPPoints] -= 150;
                  		mysql_tquery(MySQL, "UPDATE players SET DonateRank='%d' WHERE id=%d", "");
		                mysql_tquery(tquery);
		                mysql_tquery(MySQL, "UPDATE players SET GamePoints='%d' WHERE id=%d", "");
               			mysql_tquery(tquery);
		                SendClientMessage(playerid, -1, "Felicitari! Ai achizitionat 'Cont VIP' in schimbul a 150 {FF8C00}GamePoints{FFFFFF}!");
		                SendClientMessage(playerid, -1, "Tasteaza /desprevip pentru informatii!");
		                return 1;
					}
					else
					{
						SendClientMessage(playerid, -1, "Nu detii 150 {FF8C00}GamePoints{FFFFFF}!");
						return 1;
					}
				}
				case 1:
				{
				    if(PlayerInfo[playerid][pGPPoints] >= 20)
		            {
		                if(PlayerInfo[playerid][pWarns] > 0)
		                {
			                PlayerInfo[playerid][pWarns] = 0;
			                PlayerInfo[playerid][pGPPoints] -= 20;
			                mysql_tquery(MySQL, "UPDATE players SET GamePoints='%d' WHERE id=%d", "");
			                mysql_tquery(tquery);
			                mysql_tquery(MySQL, "UPDATE players SET Warnings='%d' WHERE id=%d", "");
	               			mysql_tquery(tquery);
			                SendClientMessage(playerid, -1, "Felicitari! Ai achizitionat 'Clear Warns' in schimbul a 20 {FF8C00}GamePoints{FFFFFF}!");
			                return 1;
						}
						else
						{
						    SendClientMessage(playerid, -1 ,"Nu ai warn-uri!");
						    return 1;
						}
					}
					else
					{
						SendClientMessage(playerid, -1, "Nu detii 20 {FF8C00}GamePoints{FFFFFF}!");
						return 1;
					}
				}
				case 2:
				{
				    if(PlayerInfo[playerid][pGPPoints] >= 40)
		            {
		                if(PlayerInfo[playerid][pPunish] > 0)
		                {
			                PlayerInfo[playerid][pPunish] = 0;
			                PlayerInfo[playerid][pGPPoints] -= 40;
       						mysql_tquery(MySQL, "UPDATE players SET GamePoints='%d' WHERE id=%d", "");
			                mysql_tquery(tquery);
			                mysql_tquery(MySQL, "UPDATE players SET Fpunish='%d' WHERE id=%d", "");
	               			mysql_tquery(tquery);
			                SendClientMessage(playerid, -1, "Felicitari! Ai achizitionat 'Clear FPunish' in schimbul a 40 {FF8C00}GamePoints{FFFFFF}!");
			                return 1;
						}
						else
						{
						    SendClientMessage(playerid, -1 ,"Nu ai FPunish!");
						    return 1;
						}
					}
					else
					{
						SendClientMessage(playerid, -1, "Nu detii 40 {FF8C00}GamePoints{FFFFFF}!");
						return 1;
				}
	        }
		}
	}
Reply


Messages In This Thread
diбlogo de erro - by Jimmi - 26.07.2015, 22:39
Re: diбlogo de erro - by n0minal - 26.07.2015, 23:30
Re: diбlogo de erro - by Jimmi - 26.07.2015, 23:36
Re: diбlogo de erro - by n0minal - 26.07.2015, 23:51
Re: diбlogo de erro - by Jimmi - 26.07.2015, 23:57

Forum Jump:


Users browsing this thread: 3 Guest(s)