Errors PAWNO: Problem.
#1

Код:
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(3680) : error 017: undefined symbol "mysql_ping"
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(15031) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(100762) : warning 203: symbol is never used: "GetXYInFrontOfPlayer"
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(100762) : warning 203: symbol is never used: "IsInRangeOfPoint"
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(100762) : warning 203: symbol is never used: "IslandGate"
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(100762) : warning 203: symbol is never used: "IslandGateStatus"
C:\Users\Medo\Desktop\Stuff\LVCRP\gamemodes\LVCRP.pwn(22604) : warning 204: symbol is assigned a value that is never used: "MAXCRATES"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
What should i do, Please help, And the error that is causing the compile failure is the mysql_ping i think, can someone explain to me a brief way to fix it.
Reply
#2

Can you show me your code? I can't really say what's right or wrong without reading the code.
Reply
#3

Код:
	if(mysql_ping(MainPipeline) == -1)
	{
		printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s", SQL_HOST, SQL_DB, SQL_USER);
		print("[MySQL] Note: Make sure that you have provided the correct connection credentials.");
		SendRconCommand("exit");
	}
Reply
#4

Do you have the MySQL plugin?
Reply
#5

Yes, I do.
Reply
#6

Код:
[02:09:26]    Error: Function not registered: 'cache_get_data'
[02:09:26]    Error: Function not registered: 'cache_get_field_content'
[02:09:26]    Error: Function not registered: 'mysql_function_query'
[02:09:26]    Error: Function not registered: 'cache_get_row'
Help, Now i get this on samp_server.exe! , please help.. -.-
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)