SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 09/02/2015, 12:36 AM   #1
DimiBre
Little Clucker
 
Join Date: Mar 2013
Posts: 11
Reputation: 9
Default Advanced WAR System v1.0.0 by Dimi

Hello everyone, this is script for WAR like some type of event/fun for your FR/RP/RPG server.
This script is for gangs/mafias at your server, so u must connect that fs with gamemode.
There are 5 maps to chose for play.
WAR is 10 minutes long.
You can set what guns u want to play.

Credits: Dimi, dock, ******

Instructions:
1) Needed includes
Code:
#include <a_samp>
#include <sscanf2> 
#include <YSI\y_iterate> 
#include <YSI\y_commands>
2) On line "filterscripts" in server.cfg add -> AWS;
3) In your gamemode add this:

Code:
forward GetPlayerLeader( playerid )
public GetPlayerLeader( playerid )
{
    return PlayerInfo[ playerid ][ pLeader ]; // ur definition for leaders of organization
}
forward GetPlayerMember( playerid )
public GetPlayerMember( playerid )
{
    return PlayerInfo[ playerid ][ pMember ]; // ur definition for member of organization
}
forward getOrgName( orgID );
public getOrgName( orgID ) { // put names of your org
	new orgName[64] = "Los Santos Police Department";

        if( orgID == 0 ) orgName = "Civil";
	else if( orgID == 1 ) orgName = "Los Santos Police Department";
	else if( orgID == 2 ) orgName = "Los Santos Medic Department";
	else if( orgID == 3 ) orgName = "Grove Street Family";
	else if( orgID == 4 ) orgName = "Ballas Family";
	else if( orgID == 5 ) orgName = "La Cosa Nostra";
	
	return orgName;
}
4) Commands:
Code:
/war
/wp
5) To change how much wars can be started at same time change this:
Code:
#define MAX_WARS  20
5) Have fun.

Pictures: Are not needed, i don't have idea what to record. Maybe TextDraw for scores and left time.

Download -----------> https://www.mediafire.com/?3cms7xmposrmtuk
Pastebin -----------> http://pastebin.com/U8rfb6Uw
SSCANF -----------> http://forum.sa-mp.com/showthread.php?t=120356
YSI -----------> http://forum.sa-mp.com/showthread.php?t=185611
DimiBre is offline   Reply With Quote
Old 09/02/2015, 09:02 AM   #2
DeitY
Huge Clucker
 
DeitY's Avatar
 
Join Date: Aug 2012
Location: Serbia
Posts: 319
Reputation: 16
Default Re: Advanced WAR System v1.0.0 by Dimi

Dimi dominatiooooon, gj gj
__________________
Kasno je za oprostaj ; )

DeitY is offline   Reply With Quote
Old 14/12/2017, 12:54 PM   #3
ODINA
Little Clucker
 
Join Date: Nov 2017
Location: AnTaRTiKa
Posts: 18
Reputation: 0
Default Re: Advanced WAR System v1.0.0 by Dimi

I just use /war but your not authories.. .. But i have login rcon. .. Sever... Can you fix it
ODINA is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [MG]Dimi's XMas v2.0 [MG]Dimi Filterscripts 33 13/12/2015 08:40 PM
[FilterScript] Dynamic Organization by Dimi DimiBre Filterscripts 15 05/08/2014 10:14 PM
[FilterScript] NRank System V1.0 | Advanced Rank System | 5+ Commands | Dialog System [Much More] Nirzor Filterscripts 9 18/04/2014 10:49 PM
[FilterScript] NAdmin [ V1.6 ] | 15 + Commands | Config System | Advanced Admin System Nirzor Filterscripts 16 05/09/2013 04:41 PM


All times are GMT. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.