08.02.2015, 23:36
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
2) On line "filterscripts" in server.cfg add -> AWS;
3) In your gamemode add this:
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
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>
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; }
Код:
/war /wp
Код:
#define MAX_WARS 20
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