Serpents โพสต์ 2020-4-22 14:06:06

FSระบบสร้างแก๊งในเกมครับแบบละเอียด

Scriptfiles & Defines
Pawno โค้ดนะครับ
#define MAX_ZONES 64            //Max zones
#define MAX_GANGS 20            //Max gangs
#define MAX_MEMBERS 15          //Max Gang's members
#define MAX_GVEHICLES 3         //Max Vehicle for a zone
#define GANG_CASH_ICON_ID 0

#define AllowDecreaseTotKills true //If it is true, when a player in a gang death, the player's gang TotKills will decrease

#define MembersForConq 3      //Members needed to conquer a gangzone
#define TimeForConq 60000       //Time in milliseconds to conquire a gangzone
#define MoneyAfterConq 2500   //Will give this value at all members who conquired a zone
#define TimerAddCash 60000      //Every this time, the gangzone will receve the value AddCash
#define AddCash 25            //influeced by TimerAddCash: Every that time, the cash of gang zones will increased with this value
#define mapiconid 0
#define GangPayDay 12         //Expressed in hour (Will give gang money on this hour of the day at the members, default: 12:00)

#define GangCFGFile   "M3_Server/GangFS/Gang.cfg"         //Create a little Info about Gang and Zones created
#define GangIDFile      "M3_Server/GangFS/Gangs/%d.cfg"   //Storage the gang file
#define GangZoneFile    "M3_Server/GangFS/Zones/%d.cfg"   //Storage the zone file
#define GangUserFile    "M3_Server/GangFS/Users/%s.ini"   //Storage User file (Of gang system)
#define UserBankFile    "M3_Server/GangFS/Users/%s.ini"   //Storage the cash of the payday's Player (Important to change it if you have an another folder for your Bank Syste

Includes
Pawno Codeนะครับ
#include <a_samp>
#include <streamer>
#include <Dini>
#include <sscanf2>

อันนี้คือไฟล์ Gang dk 3.1.2ล่าสุดเลยครับ


หน้า: [1]
ดูในรูปแบบกติ: FSระบบสร้างแก๊งในเกมครับแบบละเอียด