#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)
LSX Notes / TutorialYou can Download the whole tutorial HERE Los Santos Xtreme is a DeathMatch based server with huge features, overhaul ! You can race, drift, stunt anything you want. We have diffrent levels of admins here, VIP and lots of commands + features for them A Donate command for info related to donation is added in game Visit our Website : www.coldfusion.co.nr www.techtalkz.com Well, i am writing this up because the script is too big, so this is kind of a short tutorial written up, in order to make you feel easier with the gamemode. Lets begin. It has full integrated LAdmin system Sandra Prop system huge edit (include within script) Textdraws IRC, Commands VIP System (Within script) Register / Login AntiCheat NPCS Christmas System CCTV System all over server. You must have: Streamer Plugin IRC Plugin SSCANF Audio Netframework OpenSSLite __________________ It saves all the player info below. // Player Enum enum PlayerData { Registered, LoggedIn, Level, Muted, Caps, Jailed, JailTime, Frozen, FreezeTime, Kills, Deaths, hours, mins, secs, TotalTime, ConnectTime, MuteWarnings, Warnings, Spawned, TimesSpawned, God, GodCar, DoorsLocked, SpamCount, SpamTime, PingCount, PingTime, BotPing, pPing[PING_MAX_EXCEEDS], blip, blipS, pColour, pCar, SpecID, SpecType, bool:AllowedIn, FailLogin, Regular, SpawnColour, Bank, xAccount, Cookies, Developer, CarKey, Licence, Hidden, Temped, DuelFrom, DuelTo, Float:DuelX, Float:DuelY, Float:DuelZ, Float:DuelAng, IsInDuel, InRestricted, RestrictedTimer, HoldingObject, ObjectStatus, HObjID, HObjBone, Float: HObjXoff, Float: HObjYoff, Float: HObjZoff, Float: HObjXrot, Float: HObjYrot, Float: HObjZrot, AutoFix, TeleMsg, MyTime, MyHour, FavSkin }; All the server data saved are listed below // Server Control Enum enum ServerData { MaxPing, ReadPMs, ReadCmds, MaxAdminLevel, AdminOnlySkins, AdminSkin, AdminSkin2, NameKick, PartNameKick, AntiBot, AntiSpam, AntiSwear, NoCaps, Locked, Password[128], GiveWeap, GiveMoney, ConnectMessages, AdminCmdMsg, AutoLogin, MaxMuteWarnings, DisableChat, MustLogin, MustRegister }; - You can change the random messages at line 963 - You can change the gamemode name at 1073 - VIP Stuff from line 1709 - CCTV Co-ordinates from line 1777 - Gamemode text at line 1853 - Gamemode urtl at line 1857 - Data shown when player spawn at line 3277 -Levels : 0 = LSX Player 1 = VIP 2 = Moderator 3 = Junior Admin 4 = Senior Admin 5 = Managment 1337 = Rcon/owner _____________________ IRC Commands: -join -trace -mod (icmd) -kb - kickban (username) -msg - sends message ingame -kick -ban -pm - personal message from IRC to in-game -rcon - For ~q~ _______________________ Commands - Player and Admins (Mixed) cant bother to seperate sorry. /s - Save position /hold - Holdingobject (use /holdtypes) /idling - AFK /help - Splitted in many sections (like - /help general , /help money , /help rules) /ircpm - Sends message to IRC, players in-game cant see it. /locate - Locate player pos (Is in vehicle | Is on foot | Unknown loc) /basketcar - Objects Basket car. /ms [0-6] (0 = off) (listen to music, audio stream) /streams (to view list of audio streams online) /mho - Allows player to create a holding object for themself. /smho - Allows player to save and hold their object. /rmho - Remove players created holding object /vspin - Spin vehicle in the defined angular velocity /ar - autorepair /buy - buy property /sell - sell property /sellall - sell all your owned properties (level 4) /propid - Displays prop ID (level 3) /gotoprop [PROP ID] - Teleports you to desired property (level 3) /createprop [PROP ID] - Creates a property ingame (level 4) /timeon - Displays how long a player is online (Level 3 ) /slap - slaps a player /heal - Heals a player (level 2) /info - script info /drunk - Drunk (level 3) soberup - you already know (level 3) /donate - Donation Info /vallow - Temporary access to Admin Vehicles (level 3) /takevallow - Revoke Temp Admin veh access (level 3) /gotogarage - top secret crew warehouse (level 3) /givearms [weappon id] [player id] (level 3) /sethealth - sets player health (level 3) /setarmour /setcash /setscore /setskin /setwanted - Set player wanted level /colours /setcolour - 31 colors /setworld - Set player world bound ID /world - accesible by all players /antihack - Turns anticheat system on/off /spawncolor - spawn color for player /cookie playerid - gives cookies to player /bank - Deposit $ in the bank /withdraw - Withdraw $ from bank /settaxi - Set taxi usage value /ahq - Admin head quaters /ahq2 - Admin head quaters 2 /taxi [Location] (USE /Locations to see locs) /buychute - Buy parachute /tune - tunes a vehicle /back - Back from tuning area to your old location /setinterior - Set player interior to desired wish /eject - ejects a player /vehicle/ /givelicence - gives player licenece /teleban - Player cant use any teleports /givetele - Rights to tele during /teleban /burn playerid - Burn a player (to check on cheaters) /spawn id - Spawns a player /pfix - Fixes your account /skip - weather /crash - crashes a players game /ip - get player IP /bankrupt - Bankrupts a player's account /ubound - To remove world bounds /commands - Shows some commands /ahelp - admin help /vip - viphelp /xconfig - Server settings /getinfo - get player info (IP, Jailed, banned, kicked etc) /my [stats,char,time,balance,cookies,object,messages,hide] - Your stats /enable and /disable [antiswear/namekick/antispam/ping/readcmds/readpms/caps/admincmdmsgs/connectmsgs/autologin") /countdown - Count down for races/drags /nukefc - Creates explosions /specfc - to the admin lookout at Fight Club /fct - Admin teleport to FC /fillmeup - MAX WEAPONS /repair - fix car temp /nos - NOS In car /car - spawns desired car /v - spawns a car /dyndel - Destroys all dynamically created vehicles /carhealth playerid amount - setplayers car health /carcolor - Set car color /god - level 4 /sgod - level 5 /godcar - Car that never dies ! /die - sucide /getid - get players ID /asay - special text for admins /setping (0 or 1) /ping playerid - ol /setgrav [-50 > 50] - set player gravity /credits /serverinfo /announce /vr - vehicle repair /jetpack - Gives player jetpack /flip - Flips your vehicle /dc - Destory a dynamic veh /despawn - Set vehicle to respawn /regupdate- Level 5 /teleplayer [playerid] to [playerid] /goto - goto player id /vgoto [Vehicle id] - goto a vehicle /vget - Gets vehicle ID /gotopos - [X] [Y] [Z] Coordinates /givecar - give player a car /avfix - Reloads crew car pool /warn - Issues player a warning /kick - kicks a player /ban - bans a player /rban - Range banned /unban /unbanip /whatskin - Displays what skin ID is the player using /handofgod - :D fin fon fen FUN /explode - explodes a player /jail - sends a player to join /unjail - Unjail /jailed - Displays the list of players in jail /vallowed - Displays no. of player allowed admin veh access /paused - displays paused player list /freeze - freezes a player /unfreeze - Un freeze /frozen - List of frozen players /mute /unmute /muted - List if muted player /akill - Kills a player /weaps - shows all the weapons list a player have /aka - Displays other name the player joined server with /screen - send a screen msg /pm - Personal message /worldmsg [1-6] /Laston - When was the player last active. /stunt - Stunt zone /leave - leave any minigame or duel zone /fcblockon & /fcblockoff /fcgate - Open fight crew gate /fcclose - close fightcrew gate /duel - duel with players /crew - Displays admins online /npcs - displays NPC Connectd /getmyserial - ur serial number /setvip - set player VIP /delvip - removes vip level /temp [PlayerID/Name] [mod/admin/man] - Temporary admin level /giveadmin - makes player admin /givemod - makes player MOd /giveman - Makes player managment /report - report suspicious player /reports - shows all reports /botcheck /lockserver /password - set password for server /forbidname - Forbidden names list /forbidword - forbideen words list /spec - spec a player /specvehicle - spec a vehicle /specoff - turns spec off /disablechat - Turns chat off /clearchat - clear chat for you /clearallchat - clear chat globally /caps - caps lock for player /fakedeath - fake death for admins /fakechat - fake chat for admins /stopanim - Stop anyanims being played /getall - get all player at 1` postion /healall /armourall /killall /freezeall /unfreezeall /kickall /explodeall /disarmall - disarm all players /setallskin - skin id for all players /giveallcash - give all players cahs /giveallweapon - give all players weapons /xmenu /tele /xweather /xtime /cm - toggle /xtmenu - tune menu /xweapons /xvehicles - shows veh in dialogs /saveplace - saves a location /gotoplace - goto saved location /stafflogin /me - colored chat /changepass - change player password /setpass - setplayer pass /stats - shows player their stats /ID /licence /dive /vdive - veh dive /tp - teleport /ctp /givecash [playerid] [$$$\] /chase - Minigame /endchase - end minigame /flood [Colour] [Text] /loadfs - Load any fs from ingame /unloadfs - unload any fs from ingame /changemode - from ingame /account [upgrade/setlimit/reset/reward] - bank command /viewcam - CCTV View /camoff - CCTV View OFF /gang [create/join/invite/quit] [name/number] /ganginfo /gangs - List of gangs /hitman [playerid] [amount] /bounty [playerid] /bounties - Shows all available bounties There are a lot more commands that i have missed, but i feel to tired to write them all down now. Have fun, playing You will see this if the GM works fine )__________________) SA-MP Dedicated Server ---------------------- v0.3e-R2, ©2005-2012 SA-MP Team [14:15:17] filterscripts = "" (string) [14:15:17] [14:15:17] Server Plugins [14:15:17] -------------- [14:15:18] Loading plugin: sscanf [14:15:18] [14:15:18] =============================== [14:15:18] sscanf plugin loaded. [14:15:18] © 2009 Alex "******" Cole [14:15:18] =============================== [14:15:18] Loaded. [14:15:18] Loading plugin: audio.dll [14:15:18] *** Audio Plugin v0.5 R2 by Incognito loaded *** [14:15:18] Loaded. [14:15:18] Loading plugin: streamer.dll [14:15:18] *** Streamer Plugin v2.6.1 by Incognito loaded *** [14:15:18] Loaded. [14:15:18] Loaded 3 plugins. [14:15:18] [14:15:18] Ban list [14:15:18] -------- [14:15:18] Loaded: samp.ban [14:15:18] [14:15:18] [14:15:18] Filterscripts [14:15:18] --------------- [14:15:18] Loaded 0 filterscripts. [14:15:19] *** Audio_SetPack: Expecting 3 parameter(s), but found 2 [14:15:19] *** Audio Plugin: Started TCP server on port 7777 [14:15:19] ________________________________________ [14:15:19] ________________________________________ [14:15:19] Los Santos Xtreme FreeRoam Loading... [14:15:19] ________________________________________ [14:15:19] -Configuration Settings Loaded [14:15:19] -41 Forbidden Names Loaded [14:15:19] -1 Forbidden Tags Loaded [14:15:19] -9 Forbidden Words Loaded [14:15:19] ________ Configuration ___________ [14:15:19] __________ Chat & Messages ______ [14:15:19] Anti Swear: Disabled [14:15:19] Anti Spam: Enabled [14:15:19] Read Cmds: Disabled [14:15:19] Read PMs: Enabled [14:15:19] Connect Messages: Enabled [14:15:19] Admin Cmd Messages: Disabled [14:15:19] Anti capital letters: Enabled [14:15:19] __________ Skins ________________ [14:15:19] AdminOnlySkins: Enabled [14:15:19] Admin Skin 1 is: 104 [14:15:19] Admin Skin 2 is: 214 [14:15:19] ________ Server Protection ______ [14:15:19] Anti Bot: Enabled [14:15:19] Bad Name Kick: Enabled [14:15:19] __________ Ping Control _________ [14:15:19] Ping Control: Disabled [14:15:19] Max Ping: 0 [14:15:19] __________ Players ______________ [14:15:19] Save/Give Weaps: Enabled [14:15:19] Save/Give Money: Enabled [14:15:19] __________ Other ________________ [14:15:19] Max Admin Level: 1338 [14:15:19] Server Locked: No [14:15:19] Auto Login: Enabled [14:15:19] =================================== [14:15:19] || Created 23 Properties || [14:15:19] =================================== [14:15:19] Loaded 154 vehicles from: lsx/vehicles/bone.txt [14:15:19] Loaded 35 vehicles from: lsx/vehicles/ls_airport.txt [14:15:19] Loaded 24 vehicles from: lsx/vehicles/ls_law.txt [14:15:19] Loaded 108 vehicles from: lsx/vehicles/ls_gen_inner.txt [14:15:19] Loaded 209 vehicles from: lsx/vehicles/ls_gen_outer.txt [14:15:19] Loaded 261 vehicles from: lsx/vehicles/lv_gen.txt [14:15:19] Loaded 102 vehicles from: lsx/vehicles/red_county.txt [14:15:19] ________________PlayLSXR_________________ [14:15:19] LSX Version 1.5.8 [14:15:19] Last updated Monday, October 13th - 2010 [14:15:19] The time was 22:14 [14:15:19] ________________________________________ [14:15:19] Successfully Loaded [14:15:19] Date: 30/9/2012 Time: 14:15 :19 [14:15:19] ________________________________________ [14:15:19] ------------------------------------ [14:15:19] Los Santos Xtreme FreeroamZ v1.3 by RanSEE [14:15:19] ------------------------------------ [14:15:19] Number of vehicle models: 150 [14:15:20] --- Server Shutting Down. [14:15:20] ________________________________________ [14:15:20] ________________________________________ [14:15:20] Los Santos Xtreme FreeRoamZ Exit [14:15:20] ________________________________________ [14:15:20] Date: 30/9/2012 Time: 14:15 :20 [14:15:20] ________________________________________ [14:15:20] ________________________________________ [14:15:20] [14:15:20] =============================== [14:15:20] sscanf plugin unloaded. [14:15:20] ===============================
Well Derek we're sticking to other gamemode and me and our little team jointly with PlayLSX Team were working on this gamemode from 3 months so.. it would be fun for ya'all it was modified to be released.
|
C:\Users\MR57E7~1.TOM\Desktop\SAMP03~1\pawno\include\audio.inc(132) : error 017: undefined symbol "pNameEx" C:\Users\MR57E7~1.TOM\Desktop\SAMP03~1\pawno\include\C-Serial.inc(42) : warning 217: loose indentation C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(2701) : warning 204: symbol is assigned a value that is never used: "file" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(3205) : error 017: undefined symbol "SetPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4378) : error 017: undefined symbol "SetPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4383) : error 017: undefined symbol "SetPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4388) : error 017: undefined symbol "SetPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4735) : error 017: undefined symbol "IsPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4737) : error 017: undefined symbol "StopPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4739) : error 017: undefined symbol "SetPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4759) : error 017: undefined symbol "IsPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4792) : error 017: undefined symbol "IsPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(4794) : error 017: undefined symbol "StopPlayerHoldingObject" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(15908) : warning 203: symbol is never used: "CarIsLocked" C:\Users\MR. TOM LEE FOX\Desktop\samp03e_svr_win32\gamemodes\LSX.pwn(15908) : warning 203: symbol is never used: "surprise" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
line 2701 new PlayerName[MAX_PLAYER_NAME], string[128], str[128], file[128]; 3205SetPlayerHoldingObject(playerid, dUserINT(PlayerName2(playerid)).("HObjID"), dUserINT(PlayerName2(playerid)).("Bone"), dUserFLOAT(PlayerName2(playerid)).("HObjXoff"), dUserFLOAT(PlayerName2(playerid)).("HObjYoff"), dUserFLOAT(PlayerName2(playerid)).("HObjZoff"), dUserFLOAT(PlayerName2(playerid)).("HObjXrot"), dUserFLOAT(PlayerName2(playerid)).("HObjYrot"), dUserFLOAT(PlayerName2(playerid)).("HObjZrot")); 4378 SetPlayerHoldingObject(playerid, 335, 5, 0.0, 0.060 ,0.0 ,180 ,0.0, 0.0); 4383 SetPlayerHoldingObject(playerid, 333, 5, 0.0, 0.060, 0.0, 180, 0.0, 0.0); 4388 SetPlayerHoldingObject(playerid, 371, 1, 0.0, -0.1, 0.0, 0.0, 90, 0.0); 4735 if(IsPlayerHoldingObject(playerid)) 4737 StopPlayerHoldingObject(playerid); 4739 PlayerInfo[playerid][HObjID] = Obj; PlayerInfo[playerid][HObjBone] = Bone; 4759 { 4792 { 4794 SendClientMessage(playerid, COLOR_GREEN, "Your holding object has been removed!"); 15908 there is no line 15908 in the game mode
#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)
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3e, ©2005-2012 SA-MP Team [15:12:13] filterscripts = "" (string) [15:12:13] [15:12:13] Server Plugins [15:12:13] -------------- [15:12:13] Loading plugin: irc.so [15:12:13] Failed (libssl.so.0.9.8: cannot open shared object file: No such file or directory) [15:12:13] Loading plugin: audio.so [15:12:13] *** Audio Plugin v0.4 by Incognito loaded *** [15:12:13] Loaded. [15:12:13] Loading plugin: sscanf.so [15:12:13] [15:12:13] =============================== [15:12:13] sscanf plugin loaded. [15:12:13] © 2009 Alex "Y_Less" Cole [15:12:13] =============================== [15:12:13] Loaded. [15:12:13] Loading plugin: streamer.so [15:12:13] *** Streamer Plugin v2.5.1 by Incognito loaded *** [15:12:13] Loaded. [15:12:13] Loaded 3 plugins. [15:12:13] I couldn't load any gamemode scripts. Please verify your server.cfg [15:12:13] It needs a gamemode0 line at the very least.