Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Skylar Paul - 12.04.2011
Los Santos Turf War!
Current Version: 0.1a
Created by Skylar Paul
What's this?
This is Los Santos Turf War! (LS:TW) and it was created and distributed by Skylar Paul. This game mode was created in one week and features dynamic pickups, classes, map icons, vehicles, and 3D Text Labels. This game mode was based off of [L3th4l]'s Blank Gamemode | Dynamic | Uses djson which is where the dynamic systems (minus the classes), and dialog login and registration systems come from. Now that credit has been given where credit is due, let's get started - Shall we?
Why are you releasing this?
To be honest, I have no actual use for this game mode and I would rather see someone download it and edit it to their needs and be happy with it, than it just sit on my hard drive not being played and enjoyed like it was meant to do. This game mode has been running on a server hosted by a friend of mine, but it hasn't really attracted many players due to lack of advertisement, and lack of a player-base being established. Hopefully one of you forum users have more luck than me in creating communities.
How does the clan system work?
In LS:TW, there are four classes that come pre-loaded with the game mode, which are the Los Santos Vagos, Grove Street, Ballas, and [ThC]. The Los Santos Vagos, Grove Street, and the Ballas are all classic gangs, and feature nothing new - But the [ThC] class is a clan tag based class which means if you have the clan-tag [ThC] - You are allowed to pick that class, but it is limited as you need to set their filename in order for them to have the clan-tag.
This piece of code limits the clan-tags:
pawn Код:
if(strfind(name, "[ThC]", true) == 0) { //ThC clan-check
SendClientMessage(playerid, red, "[ERROR] You are not apart of [ThC]; Please remove the clan-tag and relog!");
Kick(playerid);
return 1;
}
You can easily add another clan-tag check by adding the following UNDER that piece of code by doing:
pawn Код:
else if(strfind(name, "[YourClanTag]", true) == 0) {
SendClientMessage(playerid, red, "[ERROR] You are not apart of [YourClanTag]; Please remove the clan-tag and relog!");
Kick(playerid);
return 1;
}
How does the dynamic class system work?
I think it'd be a good idea to get started on the actual class system and how it works, although it's pretty self-explanatory, some people still may not get it; therefore, I am going to explain it step-by-step.
Editing the class-name:
pawn Код:
#define TEAM_1 "Los Santos Vagos"
It's quite easy, just edit the name inside of the quotes, and that will be the class name, which will automatically show up on your next compile, and restart!
Editing the class-color:
pawn Код:
#define TEAM_1_COLOR 0xF5EF0AFF //Yellow
Just take your favorite hex-color, and place it next to "TEAM_1_COLOR" and it will be your class color from your next compile & restart, on!
Editing the class-spawn:
pawn Код:
#define TEAM_1_SPAWNX 1381.3264
#define TEAM_1_SPAWNY -1756.7399
#define TEAM_1_SPAWNZ 13.5469
#define TEAM_1_ANGLE 268.5518
Go in-game, go to the position you would like to spawn, type /save, go into your San Andreas folder, grab your position, and replace the X, Y, and Z coordinates above, and you should spawn there from your next compile!
Editing the class-skins:
pawn Код:
#define TEAM_1_SKIN_1 108
#define TEAM_1_SKIN_2 109
#define TEAM_1_SKIN_3 110
Just go to a website such as the SA:MP wiki, grab your favorite skin IDs, and replace the numbers above -- Each class is required to have 3 skins each.. Although this is modifiable under OnGameModeInit.
What are the commands?
Quote:
Originally Posted by Skylar Paul
The script comes pre-loaded with ZCMD, sscanf, and djSon. Listed below are a list of all the available commands, but feel free to add/suggest more, and they may be added in the next version!
NORMAL USERS:
/stats, /statdisplay, /sethit, /heal, /enter, /exit
Forum Moderator (LEVEL 1):
/setstat, /adminduty, /goto, /sethp, /setar, /rscan
Server Moderator (LEVEL 2):
/spawnvehicle
Server Administrator (LEVEL 3):
/addpickup, /add3dlabel, /addicon, /savevehicle, /givegun
Developer (LEVEL 5):
/setstat ("admin" params)
|
Download time!
Check the attachments! (Mirrors are accepted and appreciated - Thank you!)
Any questions/concerns/comments?
Feel free to post below! Enjoy
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
BASITJALIL - 12.04.2011
Its nice
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
boyan96 - 12.04.2011
not very good buy nice
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Anastasia - 12.04.2011
Nice Work.
Respuesta: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
REGM - 12.04.2011
Nice Work

and Great Script
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Skylar Paul - 12.04.2011
Thank you for the comments so far. Any questions, concerns, problems, bugs? Anything?
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Join7 - 12.04.2011
C:\Documents and Settings\root\Desktop\turfwar\gamemodes\LSTW.pwn(2 ) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Cypress - 12.04.2011
Wondering why it's called Los Santos Turf Wars since this have nothing to do with turfs.
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Skylar Paul - 13.04.2011
Quote:
Originally Posted by Join7
C:\Documents and Settings\root\Desktop\turfwar\gamemodes\LSTW.pwn(2 ) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
Seems like you forgot to place the includes in the correct place.
Quote:
Originally Posted by Join7
Please help
|
sscanf failed to load for some reason..
Quote:
Originally Posted by Cypress
Wondering why it's called Los Santos Turf Wars since this have nothing to do with turfs.
|
Because it was originally supposed to have turfs, but it's not finished.
Re: Los Santos Turf War! [Released: 4/11/2011 | Last Updated: 4/11/2011] -
Damian_Clerks - 04.05.2011
Quote:
Originally Posted by Join7
C:\Documents and Settings\root\Desktop\turfwar\gamemodes\LSTW.pwn(2 ) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
I get this to, i installed your attachment DID NOTHING and tried it, it didint work seems that you are missing the "zcmd" #include from your file or something ?