Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Event System By Jack_Minner/Silverms
- /* Notes
- when u create the event if u want it tdm set type=2 and the ff=0 so the freindly firwe will be off
- if it was tdm u have to add the team saw location when u type /setsspawns team1 it will set ur position and team one spawn and team2 will setur position
- as team 2 spawn and when u do /createevent if u setted type = 1 which is dm set the ff=1 and be standing in the position that the players spawn when they join the event
- */
- #include <a_samp>
- #include <zcmd>
- #include <sscanf>
- #include <streamer>
- #define COLOR_WHITE 0xFFFFFFFF
- #define COLOR_YELLOW 0xFFFF00FF
- #define COLOR_RED 0xFF0000FF
- #define COLOR_GREEN 0x00FF00FF
- #define COLOR_BLUE 0x0000FFFF
- #define COLOR_LBLUE 0x0000FFFF
- #define COLOR_ADMIN 0x0066FFFF
- #define COLOR_ORANGE 0xFF9900FF
- #define COLOR_LIGHTBLUE 0x99FFFFFF
- new Float:EX;
- new Float:EY;
- new Float:EZ;
- new ELocked;
- new ff, ft[15];
- new ename[256];
- new Float:ex[MAX_PLAYERS];
- new Float:ey[MAX_PLAYERS];
- new Float:ez[MAX_PLAYERS];
- new pInt[MAX_PLAYERS];
- new pWorld[MAX_PLAYERS];
- new eSkin[MAX_PLAYERS];
- new EventE;
- new InEvent[MAX_PLAYERS];
- new Float:Elocox, Float:Elocoy, Float:Elocoz;
- new Float:Eloctx, Float:Elocty, Float:Eloctz;
- new weapon1, weapon2, weapon3, ammo1, ammo2, ammo3, type;
- new team1[MAX_PLAYERS], team2[MAX_PLAYERS];
- new etype[15];
- new EWorld;
- new EInt;
- new oskin, tskin;
- new pWant[MAX_PLAYERS];
- new ACash[MAX_PLAYERS];
- new Float:phealth, Float:parmor;
- forward Saver(playerid);
- forward OnJoinEvent(playerid);
- enum
- {
- DIALOG_EVENTS,
- };
- public OnPlayerConnect(playerid)
- {
- ACash[playerid]=0;
- InEvent[playerid]=0;
- team1[playerid]=0;
- team2[playerid]=0;
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(InEvent[playerid]==1)
- {
- if(type==2)
- {
- if(team1[playerid]==1)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:Elocox, Float:Elocoy, Float:Elocoz);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- SetTimerEx("OnJoinEvent", 2000, false, "i", playerid);
- SetTimerEx("Saver", 1000, true, "i", playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerSkin(playerid, oskin);
- SetPlayerHealth(playerid, 9999999);
- SetPlayerArmour(playerid, 9999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- printf("%s Has Been Killed And Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=1;
- team2[playerid]=0;
- }
- if(team2[playerid]==1)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:Eloctx, Float:Elocty, Float:Eloctz);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- SetTimerEx("OnJoinEvent", 3000, false, "i", playerid);
- SetTimerEx("Saver", 1000, true, "i", playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerSkin(playerid, tskin);
- SetPlayerHealth(playerid, 9999999);
- SetPlayerArmour(playerid, 9999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- printf("%s Has Been Killed And Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=0;
- team2[playerid]=1;
- }
- if(InEvent[killerid]==1)
- {
- ACash[killerid]+=random(10000);
- }
- }
- if(type==1)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:EX, Float:EY, Float:EZ);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- SetTimerEx("OnJoinEvent", 3000, false, "i", playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerHealth(playerid, 9999999);
- SetPlayerArmour(playerid, 9999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- printf("%s Has Been Killed And Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=0;
- team2[playerid]=0;
- }
- }
- return 1;
- }
- CMD:events(playerid, params[])
- {
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There Isnt Any Active Event Right Now");
- new string[256];
- format(string, sizeof(string), "Event [%s]:Weapon 1:%d, Weapon 2:%d, Weapon 3:%d, Online:%d ,[/joinevent]", ename, weapon1, weapon2, weapon3, GetPlayersInEvent());
- SendClientMessage(playerid, COLOR_YELLOW, string);
- return 1;
- }
- CMD:createevent(playerid, params[])
- {
- if(EventE==1) return SendClientMessage(playerid, COLOR_RED, "There Is Already An Active Event Stop It First [/stopevent]");
- new pname[MAX_PLAYER_NAME], string[256];
- if (sscanf(params, "iiiiiiiis", weapon1,ammo1, weapon2, ammo2, weapon3, ammo3, type, ff, ename)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /createevent [weapon1] [ammo1] [weapon2] [ammo2] [weapon3] [ammo3] [type:1-2] [ff:1-0] [Name]");
- EWorld = GetPlayerVirtualWorld(playerid);
- EInt = GetPlayerInterior(playerid);
- GetPlayerName(playerid, pname, sizeof(pname));
- if(ff==1)
- {
- ft="ON";
- }
- else if(ff==0)
- {
- etype="OFF";
- }
- if(type==1)
- {
- etype="DM";
- GetPlayerPos(playerid, Float:EX, Float:EY, Float:EZ);
- }
- else if(type==2)
- {
- etype="TDM";
- SendClientMessage(playerid, COLOR_YELLOW, "Now Use /editevent");
- format(string, sizeof(string), "Admin Note: %s Has Created Event With Name:%s Weapon1:%d Ammo1:%d, Weapon2:%d Ammo2:%d,Weapon3:%d Ammo:%d, Interior:%d, World:%d Type:%s, FreindlyFire:%s",pname, ename, weapon1, ammo1, weapon2, ammo2,weapon3, ammo3, EInt, EWorld, etype, ft);
- SendMessageToAdmins(COLOR_ADMIN, string);
- ELocked=1;
- }
- else if(type>2) {etype="Unknown";}
- else if(type<1) {etype="Unknow";}
- format(string, sizeof(string), "Admin Note: %s Has Created Event With Name:%s Weapon1:%d Ammo1:%d, Weapon2:%d Ammo2:%d,Weapon3:%d Ammo:%d, Interior:%d, World:%d Type:%s, FreindlyFire:%s",pname, ename, weapon1, ammo1, weapon2, ammo2,weapon3, ammo3, EInt, EWorld, etype, ft);
- SendMessageToAdmins(COLOR_ADMIN, string);
- if(type==1)
- {
- format(string, sizeof(string), "Admin : %s Has Created Event [/joinevent]", pname);
- ELocked=0;
- SendClientMessageToAll(COLOR_ADMIN, string);
- }
- printf("%s Has Created Event With Name:%s Weapon1:%d Ammo1:%d, Weapon2:%d Ammo2:%d,Weapon3:%d Ammo:%d,Type:%s Interior:%d, World:%d,FreindlyFire:%s",pname, ename, weapon1, ammo1, weapon2, ammo2,weapon3, ammo3,etype, EInt, EWorld, ft);
- EventE=1;
- return 1;
- }
- CMD:editevent(playerid, params[])
- {
- new pname[MAX_PLAYER_NAME], string[256];
- GetPlayerName(playerid, pname, sizeof(pname));
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There Isnt Any Active Event Create On [/createevent]");
- if(sscanf(params, "iiiiiii", weapon1,ammo1, weapon2, ammo2, weapon3, ammo3, ff)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /editevent [weapon1] [ammo1] [weapon2] [ammo2] [weapon3] [ammo3] [Friendlyfire]");
- format(string, sizeof(string), "Admin Note: %s Has Edited Event Event With Weapon1:%d Ammo1:%d, Weapon2:%d Ammo2:%d,Weapon3:%d Ammo:%d",pname, weapon1, ammo1, weapon2, ammo2,weapon3, ammo3);
- SendMessageToAdmins(COLOR_ADMIN, string);
- printf("%s Has Edited Event With Weapon1:%d Ammo1:%d, Weapon2:%d Ammo2:%d,Weapon3:%d Ammo:%d FreindlyFire:%d",pname, weapon1, ammo1, weapon2, ammo2,weapon3, ammo3,ff);
- return 1;
- }
- CMD:endevent(playerid, params[])
- {
- new string[256], name[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME];
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There isnt Any Active Events Right Now.");
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- GetPlayerName(i, name, sizeof(name));
- GetPlayerName(playerid, pname, sizeof(pname));
- if(InEvent[i]==1)
- {
- SetPlayerPos(i, Float:ex[i], Float:ey[i], Float:ez[i]);
- SetPlayerInterior(i, pInt[i]);
- SetPlayerVirtualWorld(i, pWorld[i]);
- InEvent[i]=0;
- team1[i]=0;
- team2[i]=0;
- SetPlayerWantedLevel(i, pWant[i]);
- SetPlayerSkin(i, eSkin[i]);
- SetPlayerHealth(i, 100);
- SetPlayerArmour(i, 0);
- ResetPlayerWeapons(i);
- format(string, sizeof(string), "%s Has Left The Event", name);
- SendMessageToEvent(COLOR_BLUE, string);
- SendClientMessage(playerid, COLOR_GREEN, "Welcome Back From The Event");
- }
- format(string, sizeof(string), "Admin Note:%s Has Stoped The Event", pname);
- SendMessageToAdmins(COLOR_BLUE, string);
- printf("%s Has Stoped The event", pname);
- EventE=0;
- ELocked=0;
- return 1;
- }
- return 1;
- }
- CMD:joinevent(playerid, params[])
- {
- new team;
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There Isnt Any Active Event");
- if(ELocked==1) return SendClientMessage(playerid, COLOR_RED, "This Event Is Locked");
- if(InEvent[playerid]==1) return SendClientMessage(playerid, COLOR_RED, "You Are Already In Event");
- if(GetPlayerWantedLevel(playerid) >=1) return SendClientMessage(playerid, COLOR_RED, "You Are Wanted Lose Your Wanted Level First!");
- if(type==2)
- {
- if(GetPlayersInTeamOne()==3 && GetPlayersInTeamTwo()==3) return SendClientMessage(playerid, COLOR_RED, "Sorry This Event Is Full");
- if(sscanf(params, "d", team)) return SendClientMessage(playerid, COLOR_WHITE,"USAGE:/joinevent [team] [1-2]");
- if(team==1)
- {
- if(GetPlayersInTeamOne()==3) return SendClientMessage(playerid, COLOR_RED, "For The Balance Of The Event You Need To Join Team 2");
- new name[MAX_PLAYER_NAME], string[256];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerPos(playerid, Float:ex[playerid], Float:ey[playerid], Float:ez[playerid]);
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:Elocox, Float:Elocoy, Float:Elocoz);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- pWant[playerid] = GetPlayerWantedLevel(playerid);
- SetTimerEx("OnJoinEvent", 2000, false, "i", playerid);
- SetTimerEx("Saver", 1000, true, "i", playerid);
- eSkin[playerid] = GetPlayerSkin(playerid);
- pInt[playerid] = GetPlayerInterior(playerid);
- pWorld[playerid] = GetPlayerVirtualWorld(playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerSkin(playerid, oskin);
- SetPlayerHealth(playerid, 99999999);
- SetPlayerArmour(playerid, 99999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- format(string, sizeof(string), "%s joined an event Join Him /joinevent", name);
- SendClientMessageToAll(COLOR_BLUE, string);
- printf("%s Has Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=1;
- team2[playerid]=0;
- return 1;
- }
- if(team==2)
- {
- if(GetPlayersInTeamTwo()==3) return SendClientMessage(playerid, COLOR_RED, "For The Balance Of The Event You Need To Join Team 1");
- new name[MAX_PLAYER_NAME], string[256];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerPos(playerid, Float:ex[playerid], Float:ey[playerid], Float:ez[playerid]);
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:Eloctx, Float:Elocty, Float:Eloctz);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- pWant[playerid] = GetPlayerWantedLevel(playerid);
- SetTimerEx("OnJoinEvent", 3000, false, "i", playerid);
- SetTimerEx("Saver", 1000, true, "i", playerid);
- eSkin[playerid] = GetPlayerSkin(playerid);
- pInt[playerid] = GetPlayerInterior(playerid);
- pWorld[playerid] = GetPlayerVirtualWorld(playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerSkin(playerid, tskin);
- SetPlayerHealth(playerid, 99999999);
- SetPlayerArmour(playerid, 99999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- format(string, sizeof(string), "%s joined an event Join Him /joinevent", name);
- SendClientMessageToAll(COLOR_BLUE, string);
- printf("%s Has Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=0;
- team2[playerid]=1;
- return 1;
- }
- }
- else if(type==1)
- {
- new name[MAX_PLAYER_NAME], string[256];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerPos(playerid, Float:ex[playerid], Float:ey[playerid], Float:ez[playerid]);
- TogglePlayerControllable(playerid,0);
- SetPlayerPos(playerid, Float:EX, Float:EY, Float:EZ);
- SetPlayerVirtualWorld(playerid, EWorld);
- SetPlayerVirtualWorld(playerid, EInt);
- pWant[playerid] = GetPlayerWantedLevel(playerid);
- SetTimerEx("OnJoinEvent", 3000, false, "i", playerid);
- pInt[playerid] = GetPlayerInterior(playerid);
- pWorld[playerid] = GetPlayerVirtualWorld(playerid);
- ResetPlayerWeapons(playerid);
- SetPlayerHealth(playerid, 99999999);
- SetPlayerArmour(playerid, 99999999);
- GivePlayerWeapon(playerid, weapon1, ammo1);
- GivePlayerWeapon(playerid, weapon2, ammo2);
- GivePlayerWeapon(playerid, weapon3, ammo3);
- format(string, sizeof(string), "%s joined an event Join Him /joinevent", name);
- SendClientMessageToAll(COLOR_BLUE, string);
- printf("%s Has Joined The Event", name);
- InEvent[playerid]=1;
- team1[playerid]=0;
- team2[playerid]=0;
- }
- return 1;
- }
- CMD:leaveevent(playerid, params[])
- {
- new string[256], name[MAX_PLAYER_NAME];
- if(InEvent[playerid]==0) return SendClientMessage(playerid, COLOR_RED, "You Arent In An Event");
- SetPlayerPos(playerid, Float:ex[playerid], Float:ey[playerid], Float:ez[playerid]);
- GetPlayerName(playerid, name, sizeof(name));
- SetPlayerInterior(playerid, pInt[playerid]);
- SetPlayerVirtualWorld(playerid, pWorld[playerid]);
- InEvent[playerid]=0;
- SetPlayerWantedLevel(playerid, pWant[playerid]);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 0);
- team1[playerid]=0;
- team2[playerid]=0;
- SetPlayerSkin(playerid, eSkin[playerid]);
- GivePlayerMoney(playerid, ACash[playerid]);
- ResetPlayerWeapons(playerid);
- format(string, sizeof(string), "%s Has Left The Event", name);
- SendMessageToEvent(COLOR_BLUE, string);
- format(string, sizeof(string), "Admin Note:%s Has Left The Event", name);
- SendMessageToAdmins(COLOR_BLUE, string);
- SendClientMessage(playerid, COLOR_GREEN, "Welcome Back From The Event");
- printf("%s Has Left The Event", name);
- return 1;
- }
- CMD:ecmds(playerid, params[])
- {
- ShowPlayerDialog(playerid, DIALOG_EVENTS, DIALOG_STYLE_MSGBOX, "Server Event Commands", "1./createevent\n2./setespawnto set teams spawn location use it if type = 2]\n3./seteskins\n3./editevent[to edit the weapons]\n4./endevent\nNote:use /editevent and /setskins only if u choosed\ntype 2 and /editevent will set the spawn location of the\nchosen team.", "Close", "");
- return 1;
- }
- CMD:setespawn(playerid, params[])
- {
- new option[128], str[256], pname[MAX_PLAYER_NAME];
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There Isnt Any Active Event To Edit");
- if(type==1) return SendClientMessage(playerid, COLOR_RED, "You Can Only Edit TDM[Type 2] Events");
- if (sscanf(params, "s", option)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setespawn [team1] [team2] (team 1 spawn, team 2 spawn)");
- GetPlayerName(playerid, pname, sizeof(pname));
- if(strcmp(option, "team1", true) == 0)
- {
- GetPlayerPos(playerid, Float:Elocox, Float:Elocoy, Float:Elocoz);
- format(str, sizeof(str), "You Have Setted Team One Spawn Location At: X:%d, Y:%d, Z:%d", Float:Elocox, Float:Elocoy, Float:Elocoz);
- SendClientMessage(playerid, COLOR_YELLOW, str);
- printf("%s Has Setted Event Team One Spawn Location To: X:%d Y:%d Z:%d", pname, Float:Elocox, Float:Elocoy, Float:Elocoz);
- return 1;
- }
- if(strcmp(option, "team2", true) == 0)
- {
- GetPlayerPos(playerid, Float:Eloctx, Float:Elocty, Float:Eloctz);
- format(str, sizeof(str), "You Have Setted Team Two Spawn Location At: X:%d, Y:%d, Z:%d", Float:Eloctx, Float:Elocty, Float:Eloctz);
- SendClientMessage(playerid, COLOR_YELLOW, str);
- printf("%s Has Setted Event Team Two Spawn Location To: X:%d Y:%d Z:%d", pname, Float:Eloctx, Float:Elocty, Float:Eloctz);
- SendClientMessage(playerid, COLOR_YELLOW, "You Can Now Use /seteskins");
- return 1;
- }
- return 1;
- }
- CMD:seteskins(playerid, params[])
- {
- new str[256], pname[MAX_PLAYER_NAME], string[256];
- if(EventE==0) return SendClientMessage(playerid, COLOR_RED, "There Isnt Any Active Event To Edit");
- if(type==1) return SendClientMessage(playerid, COLOR_RED, "You Can Only Edit TDM[Type 2] Events");
- if(sscanf(params, "ii", oskin, tskin)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteskin [team1 skinid] [team2 skinid]");
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str, sizeof(str), "You Have Setted Team One Skin Id To: %d , And Team Two To: %d .", oskin, tskin);
- SendClientMessage(playerid, COLOR_YELLOW, str);
- ELocked=0;
- format(string, sizeof(string), "Admin : %s Has Created Event [/joinevent]", pname);
- SendClientMessageToAll(COLOR_ADMIN, string);
- return 1;
- }
- stock SendMessageToAdmins(color,const string[])// here will send message to admins only that he created an event
- {
- for(new i=0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- if(IsPlayerAdmin(i))//edit this in ur admin level in my case if the player was loged it as rcon
- SendClientMessage(i,color,string);
- }
- return 1;
- }
- GetPlayersInEvent()
- {
- new count;
- for(new x=0; x< MAX_PLAYERS; x++)
- {
- if(InEvent[x]==1)
- {
- count++;
- }
- }
- return count;
- }
- GetPlayersInTeamOne()
- {
- new count;
- for(new x=0; x< MAX_PLAYERS; x++)
- {
- if(team1[x]==1)
- {
- count++;
- }
- }
- return count;
- }
- GetPlayersInTeamTwo()
- {
- new count;
- for(new x=0; x< MAX_PLAYERS; x++)
- {
- if(team2[x]==1)
- {
- count++;
- }
- }
- return count;
- }
- stock SendMessageToEvent(color,const string[])
- {
- for(new i=0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- if(InEvent[i] >=1)
- SendClientMessage(i,color,string);
- }
- return 1;
- }
- public OnJoinEvent(playerid)
- {
- TogglePlayerControllable(playerid,1);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- return 1;
- }
- //===================These are for the freindly fire==============//
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
- {
- if(type==2)
- {
- if(InEvent[playerid]==1)
- {
- if(ff==0)
- {
- if(team1[issuerid]==1 && team1[playerid]==1)
- {
- SetPlayerArmour(playerid, parmor);
- SetPlayerHealth(playerid, phealth);
- }
- if(team2[issuerid]==1 && team2[playerid]==1)
- {
- SetPlayerArmour(playerid, parmor);
- SetPlayerHealth(playerid, phealth);
- }
- if(team1[issuerid]==1 && team1[playerid]==0)
- {
- SetPlayerArmour(playerid, parmor);
- SetPlayerHealth(playerid, phealth);
- }
- if(team2[issuerid]==1 && team2[playerid]==0)
- {
- SetPlayerArmour(playerid, parmor);
- SetPlayerHealth(playerid, phealth);
- }
- }
- }
- }
- return 1;
- }
- public Saver(playerid)
- {
- GetPlayerArmour(playerid, parmor);
- GetPlayerHealth(playerid, phealth);
- return 1;
- }
- //===================================================//
Advertisement
Add Comment
Please, Sign In to add comment