[FilterScript] Advanced WAR System v1.0.0 by Dimi
#1

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
Код:
#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:

Код:
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:
Код:
/war
/wp
5) To change how much wars can be started at same time change this:
Код:
#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 -----------> https://sampforum.blast.hk/showthread.php?tid=120356
YSI -----------> https://sampforum.blast.hk/showthread.php?tid=185611
Reply
#2

Dimi dominatiooooon, gj gj
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)