Problem With Admin System
#1

I tried to compile it and I got these errors
Код:
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\pawno\include\foreach.inc(435) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\pawno\include\foreach.inc(626) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(788) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1940) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1956) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1964) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1972) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1980) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(1996) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2004) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2201) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2246) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2252) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2694) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2710) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2719) : error 017: undefined symbol "DeletePlayer3DTextLabel"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2867) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(2888) : error 017: undefined symbol "Attach3DTextLabelToPlayer"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3029) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3102) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3065) : warning 203: symbol is never used: "playerid"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3113) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3146) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3430) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3605) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3631) : error 017: undefined symbol "CreatePlayer3DTextLabel"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3631) : warning 213: tag mismatch
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3683) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3684) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(3729) : error 017: undefined symbol "ShowPlayerDialog"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Please help
Reply
#2

You need to download lastest include files from SA-MP main website.
Reply
#3

Quote:
Originally Posted by Libra_PL
Посмотреть сообщение
You need to download lastest include files from SA-MP main website.
Umm, No? lol.

It's a possible Bracket miss-place, Try finding the incorrect bracket & fixing it.
Reply
#4

Quote:
Originally Posted by Swizzzy
Посмотреть сообщение
Umm, No? lol.

It's a possible Bracket miss-place, Try finding the incorrect bracket & fixing it.
You're wrong. As you see, those errors are about functions made from 0.3a, not earlier. And, they appear ONLY for stock functions. For example, incorrect bracket will make errors only of stock functions (like GetName or SendMessageToAdmins - it's an example).

EDIT: And:

Код:
C:\Documents and Settings\orion\Фб ЭггсбцЬ мпх\Downloads\samp03csvr_R2-2_win32 (1)\filterscripts\0Admin.pwn(788) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
That says, OnPlayerUpdate doesn't exists in their includes/files. This function was added in 0.3a, so that explains Kostas have includes from 0.2X or earlier versions
Reply
#5

pawn Код:
#include <a_samp>
Reply
#6

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
pawn Код:
#include <a_samp>
Do you think that he's not using this include? Look, for example - CreatePlayer3dTextLabel normally needs [MAX_PLAYERS] in a variable, because it also uses DeletePlayer3dTextLabel to remove it. Without #include <a_samp> it will create errors, such as unknown symbol MAX_PLAYERS.
Reply
#7

pawn Код:
//Main Include
#include <a_samp>


                            /*-----------------------------------------------
                            Don't change this otherwise whirlpool won't work!*/

                            #define MAX_INI_ENTRY_TEXT 130
                            #undef MAX_PLAYER_NAME
                            #define MAX_PLAYER_NAME 24
                            /*-----------------------------------------------*/

//Includes
#include <  YSI/Y_ini   >
#include <  sscanf2     >
#include <  zcmd        >
#include <  foreach     >
#include <  regex       >
the <a_samp> already include

================================================

EDIT: Also, Libra "Last edited by Zh3r0; 26/08/2011 at 01:11 AM. Reason: IMPORTANT NEWS!"I guess that he has upload the newest versions.
Reply
#8

Well, do that what I said previously Replace old includes with the new ones in SA-MP 0.3c server file in main website (http://www.sa-mp.com/download - or downloads, I don't remember).
Reply
#9

I replace them as i could find but still the same
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)