error 017 and more ;( -
pascalboy - 14.09.2012
Hello,
i download this gamemode:
http://forum.sa-mp.com/showthread.ph...ght=race+stunt
but i have error's... this are the error's:
Код:
C:\Users\pascal\Documents\Server\pawno\include\C-Serial.inc(42) : warning 217: loose indentation
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(2709) : warning 204: symbol is assigned a value that is never used: "file"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(3213) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4386) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4391) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4396) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4743) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4745) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4747) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4767) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4800) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(4802) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(15916) : warning 203: symbol is never used: "CarIsLocked"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(15916) : warning 203: symbol is never used: "surprise"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
10 Errors.
please can somebody help me...
gr pascalboy
Re: error 017 and more ;( -
HyDrAtIc - 14.09.2012
Define these symbols and it should work
Re: error 017 and more ;( -
Kirollos - 14.09.2012
update your includes to 0.3e includes. then compile the script, that should work
Re: error 017 and more ;( -
Lordzy - 14.09.2012
Quote:
Originally Posted by James_Nick
Define these symbols and it should work
|
No, it isn't the solution.
Those functions are added only in 3e.
You must download 3e includes and then add it on Pawno->Include.
And then,recompile your script.
Re: error 017 and more ;( -
pascalboy - 14.09.2012
this is the beginning of the script:
Код:
#include <a_samp>
#include <lsx_includes>
#include <C-Serial>
#define pNameEx
#define LOCALHOST 1
#define CHRISTMAS_BUILD 0 // Christmas time!? :D
#define BETA_BUILD 1 // Is this a BETA build?!
#undef MAX_PLAYERS
#define MAX_PLAYERS 10 // Change to how many slots we're using. Remember to compensate for NPCs
#if LOCALHOST == 1 // Change to 1 for localhost testing
#define IRC_ENABLED 0
#define CONNECT_BOTS 0
#else
//NPC Handling
#define CONNECT_BOTS 1 // Do we want the NPC's to connect, or not? 1 for yes, 0 for no/
// Are we including IRC in this build?
#define IRC_ENABLED 1
#endif
#define URL_STRING "coldfusion.americantalk.net" // Website
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
//--------------- CONFIG OPTIONS ----------------------
#define MAX_CCTVS 100
#define MAX_CCTVMENUS 10 //(This number should be MAX_CCTVS divided by 10 (round up))
#define GIVECASH_DELAY 5000
#define CDIVE_DELAY 5000
#define V_RESPAWN_TIME 300 // Seconds. 5 minutes.
#define A_RESPAWN_TIME 60 // Seconds. 1 minute.
#define AFK_KICK_ENABLED true // switch to false to disable
#define AFK_TIME 12000 // 15 minutes AFK before you are kicked
#define DEFAULT_SPAWN_DIST 180
#define AVERROR "Access to this vehicle is prohibited to the public."
#define AV_RESPAWN_TIME 5000 // Admin vehicles
#define TAXI_WAIT_TIME 120000 // Time it takes until player can use taxi again.
#define LVXVersion 1.5.8
#define LASTUPDATE "Monday, October 13th - 2010"
#define TIMEUPDATE 22:14
#define USE_MENUS // Comment out to remove all menus. Uncomment to enable menus
#define DISPLAY_CONFIG // displays configuration in console window on filterscript load
#define SAVE_LOGS // Comment out if your server runs linux (logs wont be saved)
#define ENABLE_SPEC // Comment out if you are using a spectate system already
#define USE_STATS // Comment out to disable /stats
#define ANTI_MINIGUN // Displays who has a minigun
//#define HIDE_ADMINS // Displays number of admins online instead of level and names
#define ENABLE_FAKE_CMDS // Comment to disable /fakechat, /fakedeath, /fakecmd commanads
#define CASH_PRIZE 2500000 //This is the prize that the player will win when killing the terrorist!
#define WEAPON_ID 34 //This is the weapon id that all players will recieve to help kill him!
#define WEAPON_AMMO 400 //this is the ammo!
//#define STUNT_PARK // Uncommented will create the stuntpark at SF Driving school.
#define fuckoff "Not enough money!"
#define MAX_WARNINGS 3 // /warn command
#define MAX_REPORTS 7
#define MAX_CHAT_LINES 7
#define SPAM_MAX_MSGS 5
#define SPAM_TIMELIMIT 4 // SECONDS
#define PING_MAX_EXCEEDS 4
#define PING_TIMELIMIT 60 // SECONDS
#define MAX_FAIL_LOGINS 3
#define MAX_WORLD 300000000
#define POCKET_DOSH 2500 // Amount player gets on spawning
#define CP_DRIVETHRU1 0 // A random failure
// Caps
#define UpperToLower(%1) for ( new ToLowerChar; ToLowerChar < strlen( %1 ); ToLowerChar ++ ) if ( %1[ ToLowerChar ]> 64 && %1[ ToLowerChar ] < 91 ) %1[ ToLowerChar ] += 32
// Spec
#define ADMIN_SPEC_TYPE_NONE 0
#define ADMIN_SPEC_TYPE_PLAYER 1
#define ADMIN_SPEC_TYPE_VEHICLE 2
//Christmas
#if CHRISTMAS_BUILD == 1
#define MAX_GIFT_MONEY 5000000
#endif
#define MAX_PROPERTIES 200
#define MAX_PROPERTIES_PER_PLAYER 200
#define UNBUYABLETIME 10 //If a property is bought, someone else have to wait this number of minutes before he/she can buy it.
#define ENABLE_MAP_ICON_STREAMER 0
#define MAX_POINTS 1
#define MAX_BANK 1
#define MAX_CPOINTS 1
#define MAX_GANGS 32
#define MAX_GANG_MEMBERS 30
#define MAX_GANG_NAME 20
#define CASH_MONET 2000000
#define MAX_ACCOUNT_MONEY 200000000
#define LICENCE_COST 20000
#define MAX_XACCOUNT_DOSH 450000000
#define xACCOUNT_COST 50000000
//----------------------------------------------
// We'll define Macros in here instead of the include.
#define IsPlayerPaused(%1) GetTickCount() > (lastupdate[%1]+2000)
#define HidePlayerDialog(%1) ShowPlayerDialog(%1, -1, 0, " ", " ", " ", " ")
//Dialog ID's
#define LOGIN 1
#define DUEL_WEAPONS 2
#define DUEL_PLACES 3
#define DUEL_DECLINE 4
#define JAIL_HELP 5
#define MYTIME_DIALOG 6
#define SERVER_NAME "Los Santos FreeRoamv1.2"
//#define IRC_SERVER "irc.sa-mp.com" // new
#define IRC_SERVER "irc.foco.co" // Home :(
#define IRC_PORT (6697)
#define IRC_CHANNEL "#ice"
#if IRC_ENABLED == 1
// Keys
#define VIP_KEY "sentinelslair"
#define CREW_KEY "demigodzrunthis"
#define BOT_1_NICKNAME "GayBot"
#define BOT_1_REALNAME "Connected to LSX"
#define BOT_1_USERNAME "PlayLSX_1"
#define BOT_2_NICKNAME "LesbianBot"
#define BOT_2_REALNAME "Connected to LSX"
#define BOT_2_USERNAME "PlayLSX_2"
#define CHAT_CHAN "#ice"
#define CREW_CHAN "#ice"
#define VIP_CHAN "#ice"
#define MAX_BOTS (2)
where can i find the includes?
http://www.solidfiles.com/d/8fd5051736/ (origanal includes )
gr pascal
Re: error 017 and more ;( -
Kirollos - 14.09.2012
download the 0.3e package from here: sa-mp.com/downloads.php
Re: error 017 and more ;( -
pascalboy - 14.09.2012
see the download it is special for this gamemode i think...
Re: error 017 and more ;( -
mamorunl - 14.09.2012
Well, have fun then
Just for fun, try downloading the 0.3e server package. You know, just for fun and try
Re: error 017 and more ;( -
pascalboy - 14.09.2012
i have now this error:
Код:
C:\Users\pascal\Documents\Server\pawno\include\C-Serial.inc(42) : warning 217: loose indentation
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(2706) : warning 204: symbol is assigned a value that is never used: "file"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(15913) : warning 203: symbol is never used: "CarIsLocked"
C:\Users\pascal\Documents\Server\gamemodes\LSX.pwn(15913) : warning 203: symbol is never used: "surprise"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Warnings.
Re: error 017 and more ;( -
mamorunl - 14.09.2012
Even though they are only warnings... please show the surrounding lines for each block.