Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ocmd:delbodyguard(playerid,params[]) {
- if(PlayerInfo[playerid][pLeader] == 12) return SendClientMessage(playerid,COLOR_WHITE,"Du darfst diesen befehl nicht nutzen."); {
- new pID,string[128],string2[128],name[MAX_PLAYER_NAME],pname[MAX_PLAYER_NAME];
- if(sscanf(params,"u",pID))return SendClientMessage(playerid, COLOR_WHITE,"Benutze: /delbodyguard [playerid]"); {
- if(PlayerInfo[pID][pMember] == 12 || PlayerInfo[pID][pMember] == 1) SendClientMessage(playerid,COLOR_WHITE,"Dieser Spieler Arbeitet nicht für denn Staat ((Fraktion))"); {
- if(playerid == pID) SendClientMessage(playerid, COLOR_WHITE, "Und was bringt dir das."); {
- GetPlayerName(playerid,name,sizeof(name));
- GetPlayerName(pID,pname,sizeof(pname));
- format(string,sizeof(string),"Du wurdest vom Präsident ( %s ) vom Bodyguard Dienst Suspendiert.",name);
- SendClientMessage(pID,COLOR_LIGHTBLUE,string);
- format(string2,sizeof(string2),"Du hast ( %s ) vom Bodyguard Dienst Suspendiert.",pname);
- SendClientMessage(playerid,COLOR_LIGHTBLUE,string2);
- new originalskin = PlayerInfo[pID][pChar];
- SetPlayerSkin(pID, originalskin);
- JBC_ResetPlayerWeapons(pID);
- SetPVarInt(pID,"Bodyguardeinheit",0);
- }
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement