--> UNDEFINED SYMBOL , PLEASE HELP!
#1

Hello all, I'm getting UNDEFINED SYMBOL on some functions that are ADDED BY SA:MP (a-samp.inc or how is this shit) .......... I think that's a symbol that is missed but I really don't find the problem. Please help... I will give you the part without the errors, that I think is the problem, because I had this problem too some months ago and... This date I don't find the problem:
Code:
/*
					 __________________________________________________
					|												   |
					|              Base SQLite Script          		   |
					|              ------------------              	   |
					|          	   Created by: Norrin                  |
					| http://creativecommons.org/licenses/by-nc-nd/4.0 |
					|__________________________________________________|

*/
//------------------------------------------------------------------------------
// INCLUDES
//------------------------------------------------------------------------------
#include <a_samp>
#include <sscanf2>
#include <streamer>
#include <zcmd>
#include <YSI\y_timers>
//------------------------------------------------------------------------------
// SERVER CONFIGURATION
//------------------------------------------------------------------------------
#define         SERVER_NAME			"Roleplay Script"
#define         SERVER_RCON			"goodroleplayserver"
#define         SERVER_PASSWORD		"0"
#define         SERVER_VERSION		"v0.1"
#define         SERVER_MAP			"Los Santos"
#define         SERVER_WEBSITE		"N/A"
#define         SERVER_TEAMSPEAK	"N/A"
//------------------------------------------------------------------------------
// DEFINITIONS
//------------------------------------------------------------------------------
#define 		COLOR_WHITE 		0xFFFFFFAA
#define 		COLOR_BLACK 		0x000000FF
#define 		COLOR_GREY			0xB4B5B7FF
#define 		COLOR_YELLOW 		0xFFFF00AA
#define 		COLOR_RED 			0xAA3333AA
#define 		COLOR_ORANGE 		0xF69521AA
#define 		COLOR_GREEN 		0x33AA33AA
#define 		COLOR_PURPLE 		0xC2A2DAAA
#define			COLOR_CYAN 			0x00FFFFFF
#define 		COLOR_GOLD	 		0xFFD700FF
#define 		COLOR_LIME 			0x00FF00FF
#define 		COLOR_TEAL          0x008080AA
#define 		COLOR_HOTPINK 		0xFF69B4FF
#define 		COLOR_LAVENDER 		0xE6E6FAFF
#define 		COLOR_LIGHTRED 		0xFF6347AA
#define 		COLOR_CYANBLUE	 	0x01FCFFC8
#define 		COLOR_LIGHTBLUE 	0x33CCFFAA
#define         COLOR_NEWBIE		0xBED9EFFF
#define 		COLOR_FADE1 		0xE6E6E6E6
#define 		COLOR_FADE2 		0xC8C8C8C8
#define 		COLOR_FADE3 		0xAAAAAAAA
#define 		COLOR_FADE4 		0x8C8C8C8C
#define 		COLOR_FADE5 		0x6E6E6E6E
#define 		DIALOG_REGISTER     (1)
#define 		DIALOG_LOGIN    	(2)
#define 		DIALOG_BANINFO    	(3)
#define 		DIALOG_AGE       	(4)
#define 		DIALOG_GENDER       (5)
#define 		DIALOG_SKIN			(6)
#define 		MAX_DOORS   		(100)

//------------------------------------------------------------------------------
// MACROS
//------------------------------------------------------------------------------
#define IsPlayerLogged(%0) GetPVarInt(%0, "gLogged")
#define IsPlayerTabbed(%0) gettime() > (PlayerInfo[%0][pLastUpdate] + 2)

//------------------------------------------------------------------------------
// NATIVES
//------------------------------------------------------------------------------
native WP_Hash(buffer[], len, const str[]);

//------------------------------------------------------------------------------
// VARIABLES
//------------------------------------------------------------------------------
new DB:Database;
new WorldTime[3];

new Text:StopAnim;
new Text:BoxNotice;
new Text:LoadingNotice;

enum pInfo {
    pID,
    pUsername[MAX_PLAYER_NAME],
	pAge,
	pGender,
	pRegistered,
	pMember,
	pRank,
	pLeader,
	pIP[16],
	pBanned,
    pBanReason[64],
    pBanExpiry,
	pJailTime,
    pJailReason[64],
	pNMute,
	pRMute,
    pAdmin,
    pTester,
    pSecondaryTask,
    pMoney,
    Float:pPositionX,
    Float:pPositionY,
    Float:pPositionZ,
    Float:pFacingAngle,
	pInterior,
	pVirtualWorld,
	pSkin,
	Float:pHealth,
	Float:pArmour,
    pReport[128],
	pLastUpdate,
    PlayerAnimLibsPreloaded,
    gPlayerUsingLoopingAnim,
    CurrentDialog
}
new PlayerInfo[MAX_PLAYERS][pInfo];

enum dInfo {
	Float:dExteriorX,
	Float:dExteriorY,
	Float:dExteriorZ,
	Float:dExteriorAngle,
	dExteriorInt,
	dExteriorVir,
	Float:dInteriorX,
	Float:dInteriorY,
	Float:dInteriorZ,
	Float:dInteriorAngle,
	dInteriorInt,
	dInteriorVir,
	dName[64],
	dPickup,
	Text3D:dDynamicText
}
new DoorInfo[MAX_DOORS][dInfo];

//------------------------------------------------------------------------------
// FORWARDS
//------------------------------------------------------------------------------
// NIL
//------------------------------------------------------------------------------
// FUNCTIONS
//------------------------------------------------------------------------------
main()
{
	SendRconCommand("hostname "SERVER_NAME);
    SendRconCommand("rcon_password "SERVER_RCON);
    SendRconCommand("gamemodetext "SERVER_VERSION);
	SendRconCommand("mapname "SERVER_MAP);
	SendRconCommand("weburl "SERVER_WEBSITE);
	SendRconCommand("password "SERVER_PASSWORD);
	printf(""SERVER_NAME" ("SERVER_VERSION"), has been loaded successfully.");
}
//------------------------------------------------------------------------------
// CALLBACKS
//------------------------------------------------------------------------------
public OnGameModeInit()
{
Reply


Messages In This Thread
--> UNDEFINED SYMBOL , PLEASE HELP! - by ImTouchk - 30.11.2016, 15:43
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by BrianFaria - 30.11.2016, 15:52
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by ImTouchk - 30.11.2016, 16:01
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by BrianFaria - 30.11.2016, 16:03
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by SoFahim - 30.11.2016, 16:08
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by ImTouchk - 30.11.2016, 16:10
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by Threshold - 30.11.2016, 16:46
Re: --> UNDEFINED SYMBOL , PLEASE HELP! - by ImTouchk - 30.11.2016, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)