Hey RetroTown,
ich will euch Heute mein Zombie Mod Script zum Download veröffentlichen.
Zombie Mod v2 habe ich Gestern rausgebraucht.
Zombie Mod v2 ist dein Gamemode für Samp Server.
Da ich bei der v1 sehr viele Bugs habe ich mich noch mal an den Script gesetzt und alles von vorne Gescriptet.
Das Script Läuft auf 0.3d Version und nicht auf 0.3c
Ich Wünsche euch nun viel Spaß beim Zombie Mod.
Download:
.pwn Datei der Code
[hide]
Spoiler anzeigen
PHP
//--- Zombie-Mod 2 by XGT---////---Date Created: 10/31/11---////---Time Created: 11:42 PM Mountain Time Zone---////---Creator: XGT---////---Holiday: Sommer---////---Mode: Zombie-Mod by XGT---////---City: LV---////---Player Accounts : No Ini System imported---////---Anti-Spam: None---////---Admin System: None Yet---////---0.3D Features: Audio---//
#include <a_samp>
// =========== [ Defines/ Pragma's ] ============== //#define COLOR_SLM 0x99667DFF#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xFF0000AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_BLUEVIOLET 0x8A2BE2AA#define COLOR_BLUE 0x0000FFAA#define COLOR_FORESTGREEN 0x228B22AA#define COLOR_DODGERBLUE 0x1E90FFAA#define COLOR_DARKOLIVEGREEN 0x556B2FAA#define COLOR_ORANGE 0xFFA500AA#define COLOR_PURPLE 0x800080AA#define COLOR_ROYALBLUE 0x4169FFAA#define COLOR_ERROR 0xD2691EAA#define COLOR_DBLUE 0x2641FEAA#define COLOR_LIGHTRED 0xFF6347AA#define COLOR_LIGHTBLUE 0x33CCFFAA#define COLOR_ADMIN 0xB2EBE0AA#define COLOR_SYSTEM 0x9ACD32AA#define COLOR_BLACK 0x000000AA#define COLOR_PINK 0xFF6EC7AA#define COLOR_LIMEGREEN 0x00F600AA#define COLOR_BROWN 0x2A140BAA#define COLOR_LIGHTGREEN 0x31C912FF#define COLOR_SAMP 0xa9c4e4ff#define COLOR_GODFATHER 0xFF6347AA
#define COL_EASY "{FFF1AF}"#define COL_WHITE "{FFFFFF}"#define COL_BLACK "{0E0101}"#define COL_GREY "{C3C3C3}"#define COL_GREEN "{6EF83C}"#define COL_RED "{F81414}"#define COL_YELLOW "{F3FF02}"#define COL_ORANGE "{FFAF00}"#define COL_LIME "{B7FF00}"#define COL_CYAN "{00FFEE}"#define COL_LIGHTBLUE "{00C0FF}"#define COL_BLUE "{0049FF}"#define COL_MAGENTA "{F300FF}"#define COL_VIOLET "{B700FF}"#define COL_PINK "{FF00EA}"#define COL_MARONE "{A90202}"#define COL_CMD "{B8FF02}"#define COL_PARAM "{3FCD02}"#define COL_SERVER "{AFE7FF}"#define COL_VALUE "{A3E4FF}"#define COL_RULE "{F9E8B7}"#define COL_RULE2 "{FBDF89}"#define COL_RWHITE "{FFFFFF}"#define COL_LGREEN "{C9FFAB}"#define COL_LRED "{FFA1A1}"#define COL_LRED2 "{C77D87}"
// =========== [ Team Settings ] =========== //new gTeam[MAX_PLAYERS];#define TEAM_ZOMBIE 0#define TEAM_HUMAN 1
#define ResetZombieWeapon 0#define ResetHumanWeapon 25#define HumanWeaponOne 24
stock ResetAmbient(playerid) return PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/ambient.mp3");stock StopAudio(playerid) return StopAudioStreamForPlayer(playerid);
// =========== [ Variables ] =========== //
new bool:HasPlayerSpawned[MAX_PLAYERS];new engine,lights,alarm,doors,bonnet,boot,objective;new Text:Sprite0;new Text:Sprite1;new Text:ZMMESSAGE;new Text:PlayerTeam[MAX_PLAYERS];new Text:BoxWhite;new Text:Bar[MAX_PLAYERS];new Text:EXP[MAX_PLAYERS];
// =========== [ Forwards ] =========== //forward Float:GetDistanceBetweenPlayers(p1,p2);forward GetClosestPlayer(p1);forward inclusion();forward ResetAudioForPlayer(playerid);forward UpdateTextDraw(playerid);
// =========== [ Stocks ] =========== //
stock GetPlayersInTeamFromMaxPlayers(teamid){ new playercount = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(HasPlayerSpawned[i] == false) continue; if(GetPlayerState(i) == PLAYER_STATE_NONE) continue; if(gTeam[i] != teamid) continue; playercount++; } return playercount;}
main(){}
public ResetAudioForPlayer(playerid){ StopAudio(playerid); ResetAmbient(playerid); return 1;}
public OnPlayerUpdate(playerid){ if(gTeam[playerid] == TEAM_HUMAN) { TextDrawSetString(PlayerTeam[playerid], " "); TextDrawSetString(PlayerTeam[playerid], "~g~Human"); }
if(gTeam[playerid] == TEAM_ZOMBIE) { TextDrawSetString(PlayerTeam[playerid], " "); TextDrawSetString(PlayerTeam[playerid], "~r~Zombie"); }
if(gTeam[playerid] == TEAM_ZOMBIE) { switch (GetPlayerWeapon(playerid)) { case 1,2,3,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46: { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 0, 1); } } } new weap, ammo; GetPlayerWeaponData(playerid, 7, weap, ammo); if(weap == 38 || weap == 35 || weap == 36 || weap == 18 || weap == 16 || weap == 26 || weap == 37) { new string [128]; new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "Anticheat: "COL_RED"%s "COL_WHITE"hat sie Gebannd wegen Cheaten. "COL_RED"(Grund: Waffen Hack)", pName); SendClientMessageToAll(COLOR_WHITE, string); Ban(playerid); } return 1;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){
if(dialogid==04041) { if(response) { if(listitem==0) { // Deagle if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,24,50000); GivePlayerMoney(playerid,-5000); SendClientMessage(playerid,COLOR_WHITE,"Desert Eagle gekauft für $5000."); } if(listitem==1) { // COLT 45 if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,22,50000); GivePlayerMoney(playerid,-2000); SendClientMessage(playerid,COLOR_WHITE,"Colt 45 gekauft für $2000."); } if(listitem==2) { // MP5K if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,29,50000); GivePlayerMoney(playerid,-5000); SendClientMessage(playerid,COLOR_WHITE,"MP5-K gekauft für $5000."); } if(listitem==3) { // M4 if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,31,50000); GivePlayerMoney(playerid,-10000); SendClientMessage(playerid,COLOR_WHITE,"M4-Carbine gekauft für $10000."); } if(listitem==4) { // AK47 if(GetPlayerMoney(playerid) < 9000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,30,50000); GivePlayerMoney(playerid,-9000); SendClientMessage(playerid,COLOR_WHITE,"AK-47 gekauft für $9000."); } if(listitem==5) { // SPAS12 if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,27,50000); GivePlayerMoney(playerid,-10000); SendClientMessage(playerid,COLOR_WHITE,"Spas 12 Shotgun gekauft für $10000."); } if(listitem==6) { // TEC N9NE if(GetPlayerMoney(playerid) < 4000) return SendClientMessage(playerid, 0xFFFFFF, "Sie verfügen nicht über genügend Bargeld!"); GivePlayerWeapon(playerid,32,50000); GivePlayerMoney(playerid,-4000); SendClientMessage(playerid,COLOR_WHITE,"Tec Nine gekauft für $4000."); }
} } return 0;}
public inclusion(){ for(new i=0; i<1000; i++) { GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(i,VEHICLE_PARAMS_ON,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective); } return 1;}
public Float:GetDistanceBetweenPlayers(p1,p2){ new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2; if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2)) { return -1.00; } GetPlayerPos(p1,x1,y1,z1); GetPlayerPos(p2,x2,y2,z2); return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));}
public GetClosestPlayer(p1){ new x,Float:dis,Float:dis2,player; player = -1; dis = 99999.99; for (x=0;x<MAX_PLAYERS;x++) { if(IsPlayerConnected(x)) { if(x != p1) { dis2 = GetDistanceBetweenPlayers(x,p1); if(dis2 < dis && dis2 != -1.00) { dis = dis2; player = x; } } } } return player;}
CMD:buy(playerid,params[]){ if(gTeam[playerid] == TEAM_HUMAN) { ShowPlayerDialog(playerid,04041,DIALOG_STYLE_LIST,"{FF0000}Waffen Shop -Humans-","Desert Eagle ($5000)\nColt 45. ($2000)\nMP5-K MG ($5000)\nM4 ($10000)\nAK-47 ($9000)\nSpas12 Shotgun ($10000)\nTec-9 ($4000)","Akzeptieren","Stornieren"); } else if(gTeam[playerid] == TEAM_ZOMBIE) { SendClientMessage(playerid,COLOR_RED,"Error: ie sind nicht berechtigt, dies zu nutzen"); } return 1;}
CMD:cmds(playerid,params[]){ ShowPlayerDialog(playerid,9046,DIALOG_STYLE_MSGBOX,"{00F19}Server Commands","/buy , /cmds , /rules , /help","Okay","Schließen"); return 1;}
CMD:rules(playerid,params[]){ ShowPlayerDialog(playerid,9050,DIALOG_STYLE_MSGBOX,"{00F19}Server Regeln","1.Kein Spammen\n2.Kein Hacken\n3.Keine Werbung\n4.etc.","Okay","Schließen"); return 1;}
CMD:help(playerid,params[]){ ShowPlayerDialog(playerid,9060,DIALOG_STYLE_MSGBOX,"{00F19}Hilfe","In diesem Spielmodus werden Sie ein Zombie oder ein Mensch sein\nSie müssen in Vegas überleben, weil der Horror, der während der Zeit da passier ist\nSie müssen Zombies töten um exp zu verdienen und das Geld, mehr Waffen zu kaufen, um Ihnen mehr Chancen zur überleben\nDieser Zombie Mod v2 wurde von XGT gescriptet","Okay","Schließen"); return 1;}
public OnGameModeInit(){ SetGameModeText(" Zombie-Mod v2 [0.3d] by XGT"); AddPlayerClass(162, 0.0,0.0,0.0,0.0, 0,0,0,0,0,0); AddPlayerClass(286,0.0,0.0,0.0,0.0, 0,0,0,0,0,0);
//---TextDraws---// Sprite0 = TextDrawCreate(497.500, 20.500, "LD_DUAL:shoot"); TextDrawFont(Sprite0, 4); TextDrawTextSize(Sprite0, 47.500, 58.000); TextDrawColor(Sprite0, -1);
Sprite1 = TextDrawCreate(554.500, 10.000, "LD_OTB2:butnBo"); TextDrawFont(Sprite1, 4); TextDrawTextSize(Sprite1, 68.500, 58.000); TextDrawColor(Sprite1, -1);
ZMMESSAGE = TextDrawCreate(427.000000, 390.000000, "~w~XGTs~n~~r~ZOMBIE-MOD ~g~v2"); TextDrawBackgroundColor(ZMMESSAGE, 255); TextDrawFont(ZMMESSAGE, 1); TextDrawLetterSize(ZMMESSAGE, 0.500000, 2.899999); TextDrawColor(ZMMESSAGE, -1); TextDrawSetOutline(ZMMESSAGE, 0); TextDrawSetProportional(ZMMESSAGE, 1); TextDrawSetShadow(ZMMESSAGE, 1);
for(new i; i < MAX_PLAYERS; i ++) { PlayerTeam[i] = TextDrawCreate(564.000000, 20.000000, "....."); TextDrawBackgroundColor(PlayerTeam[i], 255); TextDrawFont(PlayerTeam[i], 1); TextDrawLetterSize(PlayerTeam[i], 0.399999, 1.100000); TextDrawColor(PlayerTeam[i], -1); TextDrawSetOutline(PlayerTeam[i], 1); TextDrawSetProportional(PlayerTeam[i], 1); }
BoxWhite = TextDrawCreate(230.000000, 392.000000, "~n~"); TextDrawBackgroundColor(BoxWhite, 255); TextDrawFont(BoxWhite, 1); TextDrawLetterSize(BoxWhite, 0.500000, 1.000000); TextDrawColor(BoxWhite, -1); TextDrawSetOutline(BoxWhite, 0); TextDrawSetProportional(BoxWhite, 1); TextDrawSetShadow(BoxWhite, 1); TextDrawUseBox(BoxWhite, 1); TextDrawBoxColor(BoxWhite, -1); TextDrawTextSize(BoxWhite, 430.000000, -612.000000);
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { Bar[playerid] = TextDrawCreate(230.000000, 392.000000, "~n~"); TextDrawBackgroundColor(Bar[playerid], 255); TextDrawFont(Bar[playerid], 1); TextDrawLetterSize(Bar[playerid], 0.359999, 1.000000); TextDrawColor(Bar[playerid], -1); TextDrawSetOutline(Bar[playerid], 0); TextDrawSetProportional(Bar[playerid], 1); TextDrawSetShadow(Bar[playerid], 1); TextDrawUseBox(Bar[playerid], 1); TextDrawBoxColor(Bar[playerid], 16777215); TextDrawTextSize(Bar[playerid], 225.000000, 0.000000);
EXP[playerid] = TextDrawCreate(281.000000, 392.000000, "~b~EXP: 0/~g~50"); TextDrawBackgroundColor(EXP[playerid], 255); TextDrawFont(EXP[playerid], 1); TextDrawLetterSize(EXP[playerid], 0.500000, 1.000000); TextDrawColor(EXP[playerid], -1); TextDrawSetOutline(EXP[playerid], 0); TextDrawSetProportional(EXP[playerid], 1); TextDrawSetShadow(EXP[playerid], 1); }
//----Timers---// SetTimer("inclusion",5000,1); // Car engines on without a player in it. SetTimer("ResetAudioForPlayer",120000,true); // 2 min , OLD = 90000
//---Settings---// SetTeamCount(2); ShowNameTags(1); ShowPlayerMarkers(1); UsePlayerPedAnims(); AllowInteriorWeapons(1); DisableInteriorEnterExits();
AddStaticVehicleEx(466,2038.09997559,1423.90002441,10.60000038,118.00000000,-1,-1,15); //Glendale AddStaticVehicleEx(547,2036.09997559,1390.80004883,10.69999981,130.00000000,-1,-1,15); //Primo AddStaticVehicleEx(500,2074.79980469,1566.19921875,11.00000000,0.00000000,-1,-1,15); //Mesa AddStaticVehicleEx(579,2067.00000000,1483.50000000,10.80000019,50.00000000,-1,-1,15); //Huntley AddStaticVehicleEx(579,2047.09997559,1347.40002441,10.80000019,339.99877930,-1,-1,15); //Huntley AddStaticVehicleEx(598,2075.19995117,1670.40002441,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2074.69995117,1663.09997559,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2074.80004883,1655.80004883,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2075.10009766,1678.80004883,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2061.89990234,1656.50000000,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2061.69995117,1665.09997559,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2061.80004883,1673.59997559,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(598,2061.69995117,1682.40002441,10.50000000,180.00000000,-1,-1,15); //Police Car (LVPD) AddStaticVehicleEx(429,2138.30004883,1820.90002441,10.60000038,90.00000000,-1,-1,15); //Banshee AddStaticVehicleEx(429,2105.19995117,1835.50000000,10.60000038,153.99987793,-1,-1,15); //Banshee AddStaticVehicleEx(436,2168.69995117,1669.90002441,10.69999981,80.00000000,-1,-1,15); //Previon AddStaticVehicleEx(477,2160.10009766,1678.30004883,10.50000000,0.00000000,-1,-1,15); //ZR-350 AddStaticVehicleEx(416,2142.50000000,1652.00000000,11.10000038,119.99816895,-1,-1,15); //Ambulance AddStaticVehicleEx(416,2133.89990234,1647.69995117,11.10000038,119.99816895,-1,-1,15); //Ambulance AddStaticVehicleEx(541,2085.10009766,1664.40002441,10.50000000,42.00000000,-1,-1,15); //Bullet AddStaticVehicleEx(541,2080.00000000,1456.40002441,10.50000000,1.99523926,-1,-1,15); //Bullet CreateObject(2672,2080.30004883,1421.50000000,10.10000038,0.00000000,0.00000000,0.00000000); //object(proc_rubbish_4) (1) CreateObject(2671,2074.19995117,1412.30004883,9.69999981,0.00000000,0.00000000,0.00000000); //object(proc_rubbish_3) (1) CreateObject(2673,2080.00000000,1411.19995117,9.89999962,0.00000000,0.00000000,0.00000000); //object(proc_rubbish_5) (1) CreateObject(2673,2044.50000000,1420.69995117,9.80000019,0.00000000,0.00000000,0.00000000); //object(proc_rubbish_5) (2) CreateObject(2677,2041.50000000,1419.30004883,9.89999962,0.00000000,0.00000000,0.00000000); //object(proc_rubbish_7) (1) CreateObject(1437,2068.80004883,1435.40002441,11.00000000,287.99996948,180.00000000,354.00000000); //object(dyn_ladder_2) (1) CreateObject(1465,2081.30004883,1408.19995117,11.00000000,0.00000000,0.00000000,0.00000000); //object(dyn_scaffold_4) (1) CreateObject(922,2066.19995117,1389.80004883,10.60000038,0.00000000,0.00000000,0.00000000); //object(packing_carates1) (1) CreateObject(922,2066.00000000,1383.09997559,10.60000038,0.00000000,0.00000000,0.00000000); //object(packing_carates1) (2) CreateObject(922,2067.80004883,1386.40002441,10.60000038,0.00000000,0.00000000,90.00000000); //object(packing_carates1) (3) CreateObject(922,2064.19995117,1386.50000000,10.60000038,0.00000000,0.00000000,90.00000000); //object(packing_carates1) (4) CreateObject(3066,2057.50000000,1372.59997559,10.69999981,0.00000000,0.00000000,0.00000000); //object(ammotrn_obj) (1) CreateObject(2933,2107.60009766,1382.80004883,11.39999962,0.00000000,0.00000000,0.00000000); //object(pol_comp_gate) (1) CreateObject(2933,2097.00000000,1373.40002441,11.39999962,0.00000000,0.00000000,270.00000000); //object(pol_comp_gate) (2) CreateObject(2933,2117.80004883,1373.09997559,11.39999962,0.00000000,0.00000000,270.00000000); //object(pol_comp_gate) (3) CreateObject(8877,2092.89990234,1378.80004883,15.89999962,0.00000000,0.00000000,0.00000000); //object(vgsecnstrct10) (1) CreateObject(8877,2095.39990234,1366.19995117,15.89999962,0.00000000,0.00000000,280.00000000); //object(vgsecnstrct10) (2) CreateObject(8876,2091.10009766,1368.40002441,16.79999924,0.00000000,0.00000000,332.00000000); //object(vgsecnstrct15) (1) CreateObject(7089,2146.19995117,1365.50000000,16.89999962,0.00000000,0.00000000,0.00000000); //object(newscafldvegs02) (1) CreateObject(7089,2146.69995117,1359.09997559,15.69999981,0.00000000,0.00000000,178.00000000); //object(newscafldvegs02) (2) CreateObject(3116,2099.89990234,1364.69995117,17.70000076,0.00000000,0.00000000,0.00000000); //object(acwinch1) (1) CreateObject(18275,2082.30004883,1372.09997559,11.89999962,0.00000000,0.00000000,90.00000000); //object(cw2_mtbfinish) (1) CreateObject(18275,2084.89990234,1372.00000000,11.89999962,0.00000000,0.00000000,90.00000000); //object(cw2_mtbfinish) (2) CreateObject(18275,2087.19995117,1371.80004883,11.89999962,0.00000000,0.00000000,90.00000000); //object(cw2_mtbfinish) (3) CreateObject(11558,2074.60009766,1372.09997559,13.00000000,0.00000000,0.00000000,0.00000000); //object(cn_sta_grid_03) (1) CreateObject(13367,2033.50000000,1417.19995117,14.30000019,54.00000000,0.00000000,0.00000000); //object(sw_watertower01) (1) CreateObject(14873,2030.19995117,1412.00000000,10.60000038,0.00000000,0.00000000,0.00000000); //object(kylie_hay) (1) CreateObject(16388,2099.19995117,1333.90002441,9.80000019,0.00000000,0.00000000,270.00000000); //object(des_studbldg) (1) CreateObject(3110,2018.50000000,1438.30004883,17.00000000,0.00000000,0.00000000,20.00000000); //object(md_billbolaeb) (1) CreateObject(11611,2077.50000000,1358.50000000,12.60000038,0.00000000,0.00000000,40.00000000); //object(des_sherrifsgn02) (1) CreateObject(2745,2079.60009766,1397.40002441,9.50000000,352.31985474,309.37783813,278.75180054); //object(cj_stat_3) (2) CreateObject(3462,2080.30004883,1396.00000000,9.60000038,0.00000000,0.00000000,0.00000000); //object(csrangel_lvs) (1) CreateObject(3471,2080.60009766,1400.80004883,9.89999962,1.79751587,333.98623657,210.87702942); //object(vgschinalion1) (1) CreateObject(3554,2035.00000000,1383.90002441,11.60000038,2.62634277,275.39657593,111.87619019); //object(visagesign04) (1) CreateObject(846,2035.90002441,1385.09997559,9.80000019,0.00000000,0.00000000,310.00000000); //object(dead_tree_18) (1) CreateObject(844,2031.90002441,1429.50000000,10.39999962,0.00000000,0.00000000,0.00000000); //object(dead_tree_16) (1) CreateObject(841,2031.80004883,1431.30004883,9.89999962,0.00000000,0.00000000,0.00000000); //object(dead_tree_13) (1) CreateObject(617,2035.19995117,1441.80004883,9.80000019,0.00000000,0.00000000,0.00000000); //object(veg_treeb1) (1) CreateObject(9237,2019.69995117,1334.50000000,16.29999924,0.00000000,18.00000000,180.00000000); //object(lighhouse_sfn) (1) CreateObject(942,2018.09997559,1343.00000000,12.30000019,328.00000000,0.00000000,94.00000000); //object(cj_df_unit_2) (1) CreateObject(2933,2025.00000000,1334.69995117,11.50000000,0.00000000,0.00000000,270.00000000); //object(pol_comp_gate) (4) CreateObject(2933,2020.40002441,1338.69995117,11.50000000,0.00000000,0.00000000,0.00000000); //object(pol_comp_gate) (5) CreateObject(2933,2020.80004883,1330.59997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(pol_comp_gate) (6) CreateObject(2933,2018.19995117,1335.69995117,10.10000038,0.00000000,0.00000000,80.00000000); //object(pol_comp_gate) (7) CreateObject(2933,2018.19995117,1336.09997559,13.10000038,0.00000000,0.00000000,79.99694824); //object(pol_comp_gate) (8) CreateObject(2933,2019.19995117,1338.69995117,15.39999962,0.00000000,0.00000000,179.99694824); //object(pol_comp_gate) (9) CreateObject(16438,2070.60009766,1194.09997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(cn2_roadblock03) (1) CreateObject(16438,2046.40002441,1194.80004883,11.69999981,0.00000000,0.00000000,0.00000000); //object(cn2_roadblock03) (2) CreateObject(16438,2010.00000000,1273.00000000,11.50000000,0.00000000,0.00000000,270.00000000); //object(cn2_roadblock03) (3) CreateObject(16438,1994.00000000,1452.80004883,11.30000019,0.00000000,0.00000000,270.00000000); //object(cn2_roadblock03) (4) CreateObject(16438,2149.10009766,1908.40002441,11.60000038,0.00000000,0.00000000,178.00000000); //object(cn2_roadblock03) (5) CreateObject(16438,2125.00000000,1905.50000000,11.50000000,0.00000000,0.00000000,177.99499512); //object(cn2_roadblock03) (6) CreateObject(16438,2218.10009766,1891.59997559,12.10000038,0.00000000,0.00000000,87.99499512); //object(cn2_roadblock03) (7) CreateObject(16438,2094.00000000,1863.09997559,11.60000038,0.00000000,0.00000000,267.98950195); //object(cn2_roadblock03) (8) CreateObject(4564,2092.80004883,1941.00000000,19.60000038,0.93878174,62.01446533,0.23400879); //object(laskyscrap2_lan) (1) CreateObject(4585,1954.50000000,1525.59997559,13.60000038,0.00000000,82.00000000,90.00000000); //object(towerlan2) (1) CreateObject(4585,1958.90002441,1518.80004883,-9.00000000,0.00000000,81.99645996,90.00000000); //object(towerlan2) (2) CreateObject(5882,2163.89990234,1433.40002441,12.50000000,0.00000000,242.00000000,270.00000000); //object(skyscr01_lawn) (1) CreateObject(16438,2150.89990234,1374.80004883,12.00000000,0.00000000,0.00000000,88.00000000); //object(cn2_roadblock03) (10) CreateObject(7584,2161.10009766,1212.69995117,26.60000038,0.00000000,70.00000000,80.00000000); //object(miragebuild01) (1) CreateObject(8391,2191.80004883,1323.30004883,8.50000000,0.00000000,40.00000000,0.00000000); //object(ballys03_lvs) (1) CreateObject(8527,2179.80004883,1266.69995117,27.20000076,0.00000000,294.00000000,342.00000000); //object(vagbond02_lvs) (1) CreateObject(9907,2053.30004883,1157.19995117,17.39999962,0.00000000,86.00000000,174.00000000); //object(monolith_sfe) (1) CreateObject(8489,1945.40002441,1302.59997559,29.29999924,0.00000000,0.00000000,0.00000000); //object(flamingo01_lvs) (1) CreateObject(8392,1948.90002441,1377.69995117,17.89999962,0.00000000,339.99996948,290.00000000); //object(ballys02_lvs) (1) CreateObject(8392,1950.59997559,1176.90002441,33.29999924,0.00000000,359.99938965,177.99511719); //object(ballys02_lvs) (2) CreateObject(16438,2095.30004883,1532.90002441,11.50000000,0.00000000,0.00000000,90.00000000); //object(cn2_roadblock03) (12) CreateObject(5882,2168.89990234,1531.00000000,23.29999924,10.79858398,289.28305054,116.16015625); //object(skyscr01_lawn) (2) CreateObject(2933,2192.80004883,1675.80004883,13.10000038,0.00000000,0.00000000,272.00000000); //object(pol_comp_gate) (10) CreateObject(2933,2197.00000000,1671.50000000,13.10000038,0.00000000,0.00000000,1.99951172); //object(pol_comp_gate) (11) CreateObject(2933,2196.89990234,1680.50000000,13.10000038,0.00000000,0.00000000,1.99951172); //object(pol_comp_gate) (12) CreateObject(8422,1946.19995117,1724.40002441,5.80000019,0.00000000,0.00000000,180.00000000); //object(pirtehtl01_lvs) (1) CreateObject(9907,1967.40002441,1771.50000000,19.39999962,0.00000000,82.00000000,80.00000000); //object(monolith_sfe) (2) CreateObject(4564,2140.00000000,1955.69995117,16.79999924,0.93383789,62.01232910,178.23120117); //object(laskyscrap2_lan) (2) CreateObject(10308,2227.00000000,1769.80004883,22.89999962,297.99996948,180.00000000,180.00000000); //object(yet_another_sfe2) (1) CreateObject(16438,2153.60009766,1773.90002441,11.19999981,0.00000000,0.00000000,87.98950195); //object(cn2_roadblock03) (13) CreateObject(10947,2295.60009766,1867.69995117,-1.29999995,346.03479004,4.12203979,0.99639893); //object(officy_sfs) (1) CreateObject(10947,2262.69995117,1791.40002441,-2.90000010,19.94537354,4.25338745,258.54479980); //object(officy_sfs) (2) CreateObject(16438,2025.19995117,1713.69995117,12.00000000,0.00000000,0.00000000,267.98950195); //object(cn2_roadblock03) (14) CreateObject(6010,2085.60009766,1593.50000000,8.19999981,0.00000000,18.00000000,0.00000000); //object(lawnboigashot25) (1) CreateObject(11392,2069.00000000,1574.80004883,9.69999981,0.00000000,0.00000000,0.00000000); //object(hubfloorstains_sfse) (1) CreateObject(11392,2046.50000000,1567.59997559,9.69999981,0.00000000,0.00000000,0.00000000); //object(hubfloorstains_sfse) (2) CreateObject(11392,2045.90002441,1457.50000000,9.69999981,0.00000000,0.00000000,0.00000000); //object(hubfloorstains_sfse) (3) CreateObject(14826,2092.60009766,1420.80004883,10.39999962,0.00000000,0.00000000,0.00000000); //object(int_kbsgarage2) (1) CreateObject(981,2073.30004883,1640.19995117,11.10000038,0.00000000,0.00000000,322.00000000); //object(helix_barrier) (1) CreateObject(981,2049.10009766,1659.19995117,10.69999981,0.00000000,0.00000000,321.99829102); //object(helix_barrier) (2) CreateObject(972,2113.69995117,1723.40002441,8.50000000,0.00000000,0.00000000,110.00000000); //object(tunnelentrance) (1) CreateObject(972,2090.39990234,1715.30004883,8.80000019,0.00000000,0.00000000,109.99514771); //object(tunnelentrance) (2) CreateObject(972,2077.30004883,1703.19995117,9.80000019,0.00000000,0.00000000,171.99511719); //object(tunnelentrance) (3) CreateObject(972,2061.30004883,1691.09997559,9.00000000,0.00000000,0.00000000,61.99096680); //object(tunnelentrance) (4) CreateObject(1407,2087.00000000,1645.30004883,10.50000000,0.00000000,0.00000000,270.00000000); //object(dyn_f_r_wood_1) (1) CreateObject(1411,2187.30004883,1674.19995117,12.00000000,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (1) CreateObject(1411,2188.39990234,1669.69995117,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (2) CreateObject(1411,2188.30004883,1664.40002441,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (3) CreateObject(1411,2188.30004883,1679.09997559,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (4) CreateObject(1411,2188.19995117,1684.30004883,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (5) CreateObject(1411,2188.10009766,1689.50000000,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (6) CreateObject(1411,2187.69995117,1694.59997559,11.69999981,0.00000000,0.00000000,270.00000000); //object(dyn_mesh_1) (7) CreateObject(1810,2081.80004883,1668.59997559,9.80000019,0.00000000,0.00000000,0.00000000); //object(cj_foldchair) (1) CreateObject(1896,2081.89990234,1667.00000000,10.10000038,0.00000000,324.00000000,0.00000000); //object(wheel_table) (1) CreateObject(1810,2082.00000000,1665.40002441,9.80000019,316.00000000,0.00000000,192.00000000); //object(cj_foldchair) (2) return 1;}
public OnGameModeExit(){ TextDrawHideForAll(Sprite0); TextDrawDestroy(Sprite0); TextDrawHideForAll(Sprite1); TextDrawDestroy(Sprite1); TextDrawHideForAll(BoxWhite); TextDrawDestroy(BoxWhite); for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { TextDrawHideForAll(Bar[playerid]); TextDrawDestroy(Bar[playerid]); TextDrawHideForAll(EXP[playerid]); TextDrawDestroy(EXP[playerid]); TextDrawHideForAll(PlayerTeam[playerid]); TextDrawDestroy(PlayerTeam[playerid]); } return 1;}
public OnPlayerRequestClass(playerid, classid){ SetPlayerColor(playerid,0x23BCDCFF); SetPlayerPos(playerid, 2924.9727,-1563.8043,11.0469); SetPlayerFacingAngle(playerid,86.8798); SetPlayerCameraPos(playerid, 2920.7109,-1563.5922,12.0877); SetPlayerCameraLookAt(playerid, 2924.9727,-1563.8043,11.0469); if(classid == 0) { GameTextForPlayer(playerid,"~r~ Zombie",1000,4); gTeam[playerid] = TEAM_ZOMBIE; } if(classid == 1) { GameTextForPlayer(playerid,"~b~ Human -Survivor-",1000,4); gTeam[playerid] = TEAM_HUMAN; } return 1;}
public OnPlayerRequestSpawn(playerid){ new zombie = GetPlayersInTeamFromMaxPlayers(TEAM_ZOMBIE); new human = GetPlayersInTeamFromMaxPlayers(TEAM_HUMAN); if(zombie > human && gTeam[playerid] == TEAM_ZOMBIE) { GameTextForPlayer(playerid, "~r~Team ist Voll!~n~~w~Wählen Sie einen anderes Team!", 3000, 5); return 0; } else if(human > zombie && gTeam[playerid] == TEAM_HUMAN) { GameTextForPlayer(playerid, "~r~Team ist Voll!~n~~w~Wählen Sie einen anderes Team!", 3000, 5); return 0; } return 1;}
public OnPlayerConnect(playerid){ PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/intro.wav"); SendClientMessage(playerid,COLOR_WHITE,"SERVER:"COL_BLUE" Hassen Sie den Strom-Nachrichten Spam? , tipp dann /audiomsg"); HasPlayerSpawned[playerid] = false; //--Weapon Skills--// SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 0); SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 0); return 1;}
public OnPlayerDisconnect(playerid, reason){ return 1;}
public OnPlayerSpawn(playerid){ HasPlayerSpawned[playerid] = true; //---Settings---// SetPlayerTime(playerid,24,1); SetPlayerWeather(playerid,32); SetPlayerCheckpoint(playerid,2099.0674,1683.1801,13.0060,3.0); PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/ambient.mp3"); SetPlayerMapIcon( playerid, 12, 2127.9722,1663.1257,10.8203, 44, 0, MAPICON_GLOBAL ); SetPlayerMapIcon( playerid, 13, 1991.5564,1316.8756,9.2578, 23, 0, MAPICON_GLOBAL ); SetPlayerMapIcon( playerid, 14, 2077.3982,1372.8778,10.5856, 11, 0, MAPICON_GLOBAL ); SetPlayerMapIcon( playerid, 15, 2017.0146,1545.6653,10.7569, 9, 0, MAPICON_GLOBAL ); TextDrawShowForPlayer(playerid,Sprite1); TextDrawShowForPlayer(playerid, BoxWhite); TextDrawShowForPlayer(playerid, Bar[playerid]); TextDrawShowForPlayer(playerid, EXP[playerid]); TextDrawShowForPlayer(playerid,PlayerTeam[playerid]); //---Random Skin On Spawn---// new humanskin = random(4); if(gTeam[playerid] == TEAM_HUMAN) { GivePlayerWeapon(playerid,25,50); SendClientMessage(playerid,COLOR_BLUE,"SERVER:"COL_WHITE" Ãœberlebt das Zombie Tag es gibt keine objektive nur um zu überleben"); SetPlayerPos(playerid,2185.2051,1676.4596,11.0908); SetPlayerFacingAngle(playerid,85.7840); SetPlayerTeam(playerid,1); SetPlayerColor(playerid,COLOR_WHITE); switch ( humanskin ) { case 0: SetPlayerSkin(playerid,285); case 1: SetPlayerSkin(playerid,286); case 2: SetPlayerSkin(playerid,29); case 3: SetPlayerSkin(playerid,28); } } new zombiesin = random(3); if(gTeam[playerid] == TEAM_ZOMBIE) { SendClientMessage(playerid,COLOR_RED,"SERVER:"COL_WHITE" Zombi Mod v2 by XGT Skype: vitja-p1 Wir Wünschen dir nun viel Spaß auf den Server."); SetPlayerPos(playerid,1991.2885,1317.2726,9.2578); SetPlayerFacingAngle(playerid,272.5443); SetPlayerTeam(playerid,0); SetPlayerColor(playerid,COLOR_GREEN); TextDrawShowForPlayer(playerid,Sprite0); switch ( zombiesin ) { case 0: SetPlayerSkin(playerid,230); case 1: SetPlayerSkin(playerid,162); case 2: SetPlayerSkin(playerid,137); } }
return 1;}
public OnPlayerEnterCheckpoint(playerid){ if(gTeam[playerid] == TEAM_HUMAN) { ShowPlayerDialog(playerid,04041,DIALOG_STYLE_LIST,"{FF0000}Waffen Shop -Humans-","Desert Eagle ($5000)\nColt 45. ($2000)\nMP5-K MG ($5000)\nM4 ($10000)\nAK-47 ($9000)\nSpas12 Shotgun ($10000)\nTec-9 ($4000)","Akzeptieren","Stornieren"); } else if(gTeam[playerid] == TEAM_ZOMBIE) { SendClientMessage(playerid,COLOR_RED,"Error: Sie sind nicht berechtigt, dies zu nutzen"); } return 1;}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(newkeys & KEY_FIRE) { if(gTeam[playerid] == TEAM_ZOMBIE) { if(GetPlayerWeapon(playerid) == 0) { new victimid = GetClosestPlayer(playerid); if(IsPlayerConnected(victimid)) { if(GetDistanceBetweenPlayers(playerid,victimid) < 2) { new Float:health; GetPlayerHealth(victimid, health); SetPlayerHealth(victimid, health - 10.0); // When a zombie hits a human they lose 10 hp per hit. return 1; } } } } } return 1;}
public OnPlayerDeath(playerid, killerid, reason){ if(gTeam[playerid] == TEAM_ZOMBIE) { PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/attack2.mp3"); PlayAudioStreamForPlayer(killerid,"http://pamp3.site40.net/zombie/attack2.mp3"); StopAudio(killerid); ResetAmbient(killerid); } if(gTeam[playerid] == TEAM_HUMAN) { PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/die.wav"); PlayAudioStreamForPlayer(playerid,"http://pamp3.site40.net/zombie/die.wav"); StopAudio(killerid); ResetAmbient(killerid); } GivePlayerMoney(killerid,5000); GivePlayerMoney(playerid,-1000); SendClientMessage(killerid,COLOR_GREEN,"Geld:"COL_WHITE" +5000"); SendClientMessage(playerid,COLOR_GREEN,"Geld:"COL_WHITE" -1000"); //---EXP---// new string[64]; new score = GetPlayerScore(killerid); SetPlayerScore(killerid, score+1); format(string, sizeof(string),"~b~EXP: %d/~g~50",score+1); TextDrawSetString(EXP[killerid],string); GivePlayerMoney(killerid, 6000); // +6000$
switch(score) { case 0: { TextDrawTextSize(Bar[playerid],229.0000, 0.000000 ); UpdateTextDraw(playerid); } case 1: { TextDrawTextSize(Bar[playerid],233.0000, 0.000000 ); UpdateTextDraw(playerid); } case 2: { TextDrawTextSize(Bar[playerid],236.0000, 0.000000 ); UpdateTextDraw(playerid); } case 3: { TextDrawTextSize(Bar[playerid],240.0000, 0.000000 ); UpdateTextDraw(playerid); } case 4: { TextDrawTextSize(Bar[playerid],245.0000, 0.000000 ); UpdateTextDraw(playerid); } case 5: { TextDrawTextSize(Bar[playerid],250.0000, 0.000000 ); UpdateTextDraw(playerid); } case 6: { TextDrawTextSize(Bar[playerid],255.0000, 0.000000 ); UpdateTextDraw(playerid); } case 7: { TextDrawTextSize(Bar[playerid],260.0000, 0.000000 ); UpdateTextDraw(playerid); } case 8: { TextDrawTextSize(Bar[playerid],265.0000, 0.000000 ); UpdateTextDraw(playerid); } case 9: { TextDrawTextSize(Bar[playerid],270.0000, 0.000000 ); UpdateTextDraw(playerid); } case 10: { TextDrawTextSize(Bar[playerid],275.0000, 0.000000 ); UpdateTextDraw(playerid); } case 11: { TextDrawTextSize(Bar[playerid],280.0000, 0.000000 ); UpdateTextDraw(playerid); } case 12: { TextDrawTextSize(Bar[playerid],285.0000, 0.000000 ); UpdateTextDraw(playerid); } case 13: { TextDrawTextSize(Bar[playerid],290.0000, 0.000000 ); UpdateTextDraw(playerid); } case 14: { TextDrawTextSize(Bar[playerid],295.0000, 0.000000 ); UpdateTextDraw(playerid); } case 15: { TextDrawTextSize(Bar[playerid],300.0000, 0.000000 ); UpdateTextDraw(playerid); } case 16: { TextDrawTextSize(Bar[playerid],305.0000, 0.000000 ); UpdateTextDraw(playerid); } case 17: { TextDrawTextSize(Bar[playerid],310.0000, 0.000000 ); UpdateTextDraw(playerid); } case 18: { TextDrawTextSize(Bar[playerid],315.0000, 0.000000 ); UpdateTextDraw(playerid); } case 19: { TextDrawTextSize(Bar[playerid],320.0000, 0.000000 ); UpdateTextDraw(playerid); } case 20: { TextDrawTextSize(Bar[playerid],325.0000, 0.000000 ); UpdateTextDraw(playerid); } case 21: { TextDrawTextSize(Bar[playerid],330.0000, 0.000000 ); UpdateTextDraw(playerid); } case 22: { TextDrawTextSize(Bar[playerid],340.0000, 0.000000 ); UpdateTextDraw(playerid); } case 23: { TextDrawTextSize(Bar[playerid],345.0000, 0.000000 ); UpdateTextDraw(playerid); } case 24: { TextDrawTextSize(Bar[playerid],350.0000, 0.000000 ); UpdateTextDraw(playerid); } case 25: { TextDrawTextSize(Bar[playerid],355.0000, 0.000000 ); UpdateTextDraw(playerid); } case 26: { TextDrawTextSize(Bar[playerid],360.0000, 0.000000 ); UpdateTextDraw(playerid); } case 27: { TextDrawTextSize(Bar[playerid],365.0000, 0.000000 ); UpdateTextDraw(playerid); } case 28: { TextDrawTextSize(Bar[playerid],370.0000, 0.000000 ); UpdateTextDraw(playerid); } case 29: { TextDrawTextSize(Bar[playerid],375.0000, 0.000000 ); UpdateTextDraw(playerid); } case 30: { TextDrawTextSize(Bar[playerid],380.0000, 0.000000 ); UpdateTextDraw(playerid); } case 31: { TextDrawTextSize(Bar[playerid],385.0000, 0.000000 ); UpdateTextDraw(playerid); } case 32: { TextDrawTextSize(Bar[playerid],390.0000, 0.000000 ); UpdateTextDraw(playerid); } case 33: { TextDrawTextSize(Bar[playerid],395.0000, 0.000000 ); UpdateTextDraw(playerid); } case 34: { TextDrawTextSize(Bar[playerid],400.0000, 0.000000 ); UpdateTextDraw(playerid); } case 35: { TextDrawTextSize(Bar[playerid],405.0000, 0.000000 ); UpdateTextDraw(playerid); } case 36: { TextDrawTextSize(Bar[playerid],410.0000, 0.000000 ); UpdateTextDraw(playerid); } case 37: { TextDrawTextSize(Bar[playerid],415.0000, 0.000000 ); UpdateTextDraw(playerid); } case 38: { TextDrawTextSize(Bar[playerid],420.0000, 0.000000 ); UpdateTextDraw(playerid); } case 39: { TextDrawTextSize(Bar[playerid],425.0000, 0.000000 ); UpdateTextDraw(playerid); } case 40: { TextDrawTextSize(Bar[playerid],430.0000, 0.000000 ); UpdateTextDraw(playerid); } case 41: { TextDrawTextSize(Bar[playerid],435.0000, 0.000000 ); UpdateTextDraw(playerid); } case 42: { TextDrawTextSize(Bar[playerid],440.0000, 0.000000 ); UpdateTextDraw(playerid); } case 43: { TextDrawTextSize(Bar[playerid],445.0000, 0.000000 ); UpdateTextDraw(playerid); } case 44: { TextDrawTextSize(Bar[playerid],450.0000, 0.000000 ); UpdateTextDraw(playerid); } case 45: { TextDrawTextSize(Bar[playerid],455.0000, 0.000000 ); UpdateTextDraw(playerid); } case 46: { TextDrawTextSize(Bar[playerid],460.0000, 0.000000 ); UpdateTextDraw(playerid); } case 47: { TextDrawTextSize(Bar[playerid],465.0000, 0.000000 ); UpdateTextDraw(playerid); } case 48: { TextDrawTextSize(Bar[playerid],470.0000, 0.000000 ); UpdateTextDraw(playerid); } case 49: { TextDrawTextSize(Bar[playerid],475.0000, 0.000000 ); UpdateTextDraw(playerid); } } return 1;}
public UpdateTextDraw(playerid){ TextDrawHideForPlayer(playerid,Bar[playerid]); TextDrawShowForPlayer(playerid,Bar[playerid]); return 1;}
/*CMD:aaa(playerid,params[]){ new Float:x,Float:y,Float:z; GetPlayerPos(playerid,Float:x,Float:y,Float:z); CreateVehicle(520,Float:x,Float:y,Float:z,100.0,1,1,15); return 1;}*/
Alles anzeigen
[/hide]
Und der Download Link: Mit der Datei .amx und .pwn
[hide]File-Upload.net - Zombie-Mod-v2-by-XGT.rar [/hide]
Mit Freundlichen Grüßen
XGT