Rar!Ïs ¦tt DCCêᩯcç80 D_Prop_Admin_2\DPopAdmin_V2.amxðNCàñ ¼x0xpÿÿÿÿ8€ÐððøÔúÈè`H#6 J<Zcip‚‰—ž°ÀÐéîôû@ArmourFreezeHPforallHealthKillPlayerOnFilterScriptInitOnPlayerCommandTextOnPlayerConnectUnfreezeprintstrlenSendClientMessagestrcmpIsPlayerAdminstrvalIsPlayerConnectedSetPlayerHealthSetPlayerArmourTogglePlayerControllablesampFloatStringplayersFloat€x. ''€{, 'D'€{, '‚|'€{, 0. ,|) '€{,| |€@‚  $+ ?‚ 3‚$€Y5‚\ $€k*3D ,|x ,ÿ0€Yÿ(€w€P |€@„ $+ >„x€O €@„ 3„ €Y5…8 ÿ($x€O€y+$ $+ + $€k*3ƒ ÿ($x€O€y+"€Y ÿ(€u€P,€X0. '„@'ø€*) ' €{, '†'ø€*) ' €{, '†l'ø€*) ' €{, 'ˆ,'ø€*) ' €{, 0. ,ø€Yø€wˆ ' ø$-€P%÷|)'1*+€u€P-ÿ0 '‡ÿÿÿ''‰lø'€{,6l ) '€{,5 'Š'ø€*) ' €{, '‹4'ø€*) ' €{, '$'ø€*) ' €{, ' 'ø€*) ' €{, 'p'ø€*) ' €{, '’'ø€*) ' €{, '“<'ø€*) ' €{, '”t'ø€*) ' €{,3T '– 'ÿ*) ' €{, ,ˆ0 '‡ÿÿÿ''˜dø'€{,6’( ) '€{,5‘\ ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5X '™'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5‘L )÷x'1¨`,ˆ3’ 'š'ø€*) ' €{, ,ˆ0 '‡ÿÿÿ''› ø'€{,6–d ) '€{,5– ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5• '›,'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5– )÷x'1©T,ˆ3–L 'œ('ø€*) ' €{, ,ˆ0 '‡ÿÿÿ''4ø'€{,6› ) '€{,5šT ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5™P 'd'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5šD )÷x'1ªH,ˆ3› 'žp'ø€*) ' €{, ,ˆ0 '‡ÿÿÿ''Ÿ|ø'€{,6ŸT ) '€{,5Ÿ ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5ž ' $'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5žx '1«h,ˆ3Ÿ< ' x'ø€*) ' €{, ,ˆ0 '‡ÿÿÿ''¢ø'€{,6¤ ) '€{,5£D ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5¢@ '¢$'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5£4 )÷x'1­H,ˆ3£x '£'ø€*) ' €{, ,ˆ0 '‡ÿÿÿ''¤(ø'€{,6¨L ) '€{,5¨ ' ,ø€Yïx€wˆ ïx$-€P%÷|)'1*+€u€P-ÿ0 ïx'€{,€T5¦| '¤P'ø€*) ' €{, ,0 ïx'€{,÷x )÷x'€{,5§p )÷x'1®<,ˆ3¨4 '¥P'ø€*) ' €{, ,ˆ0 €Y,ˆ0. '„– €) '€{, '¦\'ø€*) ' €{, 0. '„– €) '€{, '§|'ø€*) ' €{, 0. ') '€{, ') '€{, '©<'ø€*) ' €{, 0. ''H3¬ €n||x€@­8 )|'€{,5­0 '„– €)|'€{, '„– €)|'€{, 3¬,€Y0. ') '€{ , 'ª\'ø€*) ' €{, 0. ') '€{ , '¬'ø€*) ' €{, 0 ----------------------------------------------- €D-€P€r€o€p- €A€d€m€i€n €[€v 2.0€] €C€o€m€m€a€n€d€s €b€y €G€t€a€m€o€d€e€l€e€r----------------------------------------------- €_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_*** ! €N€u€r €f|€r €A€d€m€i€n€s ! ****** /€d€p€r€o€p€a€d€m€i€n €e€i€n€g€e€b€e€n €f|€r €A€d€m€i€n €c€o€m€m€a€n€d€s ***€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_/€d€p€r€o€p€a€d€m€i€n*** €D-€P€R€O€P €A€d€m€i€n €b€y €G€t€a€m€o€d€e€l€e€r €[€V.2€] /€h€e€a€l€t€h €[€S€p€i€e€l€e€r-€I€D€] €u€m €e€i€n€e€n €S€p€i€e€l€e€r €v€o€l€l€e€s €L€e€b€e€n €z€u €g€e€b€e€n/€a€r€m€o€u€r €[€S€p€i€e€l€e€r-€I€D€] €u€m €e€i€n€e€n €S€p€i€e€l€e€r €v€o€l€l€e €P€a€n€z€e€r€u€n€g €z€u €g€e€b€e€n/€k€i€l€l€p€l€a€y€e€r €[€S€p€i€e€l€e€r-€I€D€] €u€m €e€i€n€e€n €S€p€i€e€l€e€r €z€u €K€i€l€l€e€n/€h€p€f€o€r€a€l€l €u€m €j€e€d€e€n €S€p€i€e€l€e€r €z€u €h€e€i€l€e€n/€f€r€e€e€z€e €[€S€p€i€e€l€e€r-€I€D€] €u€m €j€e€m€a€n€d€e€n €e€i€n€z€u€f€r€i€e€r€e€n/€u€n€f€r€e€e€z€e €[€S€p€i€e€l€e€r-€I€D€] €u€m €j€e€m€a€n€d€e€n €a€u€f€z€u€t€a€u€e€n*** €D-€P€r€o€p €A€d€m€i€n €[€V.2€] €b€y €G€t€a€m€o€d€e€l€e€r *** €D€u €b€i€s€t €k€e€i€n €A€d€m€i€n,€t€i€p€p€e /€r€c€o€n €l€o€g€i€n €[€P€a€s€s€w€o€r€t€] €e€i€n €u€m €d€i€c€h €a€l€s €A€d€m€i€n €e€i€n€z€u€l€o€g€g€e€n/€h€e€a€l€t€h€B€e€n€u€t€z€u€n€g: /€h€e€a€l€t€h €[€P€l€a€y€e€r €I€D€]*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!/€a€r€m€o€u€r€B€e€n€u€t€z€u€n€g: /€a€r€m€o€u€r €[€P€l€a€y€e€r €I€D€]*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!/€k€i€l€l€p€l€a€y€e€r€B€e€n€u€t€z€u€n€g: /€k€i€l€l€p€l€a€y€e€r €[€P€l€a€y€e€r €I€D€]*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!/€h€p€f€o€r€a€l€l€B€e€n€u€t€z€u€n€g: /€h€p€f€o€r€a€l€l*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!/€f€r€e€e€z€e€B€e€n€u€t€z€u€n€g: /€f€r€e€e€z€e €[€P€l€a€y€e€r€i€d€]*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!/€u€n€f€r€e€e€z€e€B€e€n€u€t€z€u€n€g: /€u€n€f€r€e€e€z€e €[€P€l€a€y€e€r€i€d€]*** €N€u€r €f|€r €R€C€O€N €A€d€m€i€n€s €z€u€gd€n€g€l€i€g!*** €D€u €w€u€r€d€e€s€t €v€o€n €e€i€n€e€m €A€d€m€i€n €g€e€h€e€i€l€t!*** €D€u €h€a€s€t €v€o€n €e€i€n€e€m €A€d€m€i€n €P€a€n€z€e€r€u€n€g €b€e€k€o€m€m€e€n!*** €D€u €w€u€r€d€e€s€t €v€o€n €e€i€n€e€m €A€d€m€i€n €G€e€k€i€l€l€t!*** €D€u €w€u€r€d€e€s€t €v€o€n €e€i€n€e€m €A€d€m€i€n €e€i€n€g€e€f€r€o€h€r€e€n *** €D€u €w€u€r€d€e€s€t €w€i€e€d€e€r €v€o€m €A€d€m€i€n €a€u€f€g€e€t€a€u€t #Ÿt Døøü¢cç80 D_Prop_Admin_2\DPopAdmin_V2.pwn°ro‘#include #define COLOR_GREEN 0x33AA33AA #define COLOR_RED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define FILTERSCRIPT forward Health(healthid); forward Armour(armourid); forward KillPlayer(killid); forward HPforall(); forward Freeze(freezeid); forward Unfreeze(unfreezeid); public OnFilterScriptInit() { print("\n-----------------------------------------------"); print(" D-Prop- Admin [v 2.0] Commands by Gtamodeler"); print("-----------------------------------------------\n"); return 1; } strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; } public OnPlayerConnect(playerid) { SendClientMessage(playerid,COLOR_RED,"_______________________________________________"); SendClientMessage(playerid,COLOR_RED,"*** ! Nur für Admins ! ***"); SendClientMessage(playerid,COLOR_RED,"*** /dpropadmin eingeben für Admin commands ***"); SendClientMessage(playerid,COLOR_RED,"_______________________________________________"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; new idx; cmd = strtok(cmdtext, idx); if(strcmp(cmd, "/dpropadmin", true) == 0) { if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid, COLOR_RED, "*** D-PROP Admin by Gtamodeler [V.2] "); SendClientMessage(playerid, COLOR_RED, "/health [Spieler-ID] um einen Spieler volles Leben zu geben"); SendClientMessage(playerid, COLOR_RED, "/armour [Spieler-ID] um einen Spieler volle Panzerung zu geben"); SendClientMessage(playerid, COLOR_RED, "/killplayer [Spieler-ID] um einen Spieler zu Killen"); SendClientMessage(playerid, COLOR_RED, "/hpforall um jeden Spieler zu heilen"); SendClientMessage(playerid, COLOR_RED, "/freeze [Spieler-ID] um jemanden einzufrieren"); SendClientMessage(playerid, COLOR_RED, "/unfreeze [Spieler-ID] um jemanden aufzutauen"); SendClientMessage(playerid, COLOR_RED, "*** D-Prop Admin [V.2] by Gtamodeler "); } else { SendClientMessage(playerid,COLOR_WHITE,"*** Du bist kein Admin,tippe /rcon login [Passwort] ein um dich als Admin einzuloggen"); } return 1; } if(strcmp(cmd, "/health", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /health [Player ID]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { Health(giveplayerid); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } if(strcmp(cmd, "/armour", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /armour [Player ID]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { Armour(giveplayerid); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } if(strcmp(cmd, "/killplayer", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /killplayer [Player ID]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { KillPlayer(giveplayerid); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } if(strcmp(cmd, "/hpforall", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /hpforall"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { HPforall(); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } if(strcmp(cmd, "/freeze", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /freeze [Playerid]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { Freeze(giveplayerid); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } if(strcmp(cmd, "/unfreeze", true) == 0) { if (IsPlayerAdmin(playerid)) { new giveplayerid; new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_RED, "Benutzung: /unfreeze [Playerid]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { Unfreeze(giveplayerid); } } else { SendClientMessage(playerid,COLOR_RED,"*** Nur für RCON Admins zugänglig!"); } return 1; } return 0; } public Health(healthid) { SetPlayerHealth(healthid,100.0); SendClientMessage(healthid,COLOR_RED,"*** Du wurdest von einem Admin geheilt!"); return 1; } public Armour(armourid) { SetPlayerArmour(armourid,100.0); SendClientMessage(armourid,COLOR_RED,"*** Du hast von einem Admin Panzerung bekommen!"); return 1; } public KillPlayer(killid) { SetPlayerArmour(killid,0.0); SetPlayerHealth(killid,0.0); SendClientMessage(killid,COLOR_RED,"*** Du wurdest von einem Admin Gekillt!"); return 1; } public HPforall() { for (new i = 0, j = MAX_PLAYERS; i < j; i ++) { if (IsPlayerConnected(i)) { SetPlayerHealth(i,100.0); SetPlayerArmour(i,100.0); } } } public Freeze(freezeid) { TogglePlayerControllable(freezeid,0); SendClientMessage(freezeid,COLOR_RED,"*** Du wurdest von einem Admin eingefrohren "); return 1; } public Unfreeze(unfreezeid) { TogglePlayerControllable(unfreezeid,1); SendClientMessage(unfreezeid,COLOR_RED,"*** Du wurdest wieder vom Admin aufgetaut "); return 1; } ”wt C¥¥>ÇË;ç80 D_Prop_Admin_2\dpropadmin2.txtðh‰ Hi, hier ist nun die V2 von DPropAdmin! Bugs die da waren wurden alle behoben! Es gibt 2 neue Commands. Und sie lauten: /health Spieler ID [wurde gefixt] /armour Spieler ID [wurde gefixt] /killplayer Spieler-ID [wurde gefixt] /hpforall [wurde gefixt] /freeze Spieler ID [lässt jemanden einfrieren,somit kann er nichts mehr machen,bewegen etc.] /unfreeze Spieler ID [lässt denn Spieler der eingefrohren war wieder auftauen und kann somit wieder sich frei bewegen] Alle Commands sind auch auf /dpropadmin aufgelistet! Install: In denn FS ordner rein kopieren und in der server.cfg bei filterscripts eintragen. Und jetzt viel Spaß! BY GTAMODELER