[FilterScript] Advanced WAR System v1.0.0 by Dimi - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Advanced WAR System v1.0.0 by Dimi (
/showthread.php?tid=562444)
Advanced WAR System v1.0.0 by Dimi -
DimiBre - 08.02.2015
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:
5) To change how much wars can be started at same time change this:
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
Re: Advanced WAR System v1.0.0 by Dimi -
DeitY - 09.02.2015
Dimi dominatiooooon, gj gj
Re: Advanced WAR System v1.0.0 by Dimi -
ODINA - 14.12.2017
I just use /war but your not authories.. .. But i have login rcon. .. Sever... Can you fix it