14.09.2012, 15:14
this is the beginning of the script:
where can i find the includes?
http://www.solidfiles.com/d/8fd5051736/ (origanal includes )
gr pascal
Код:
#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)
http://www.solidfiles.com/d/8fd5051736/ (origanal includes )
gr pascal