Hallo,
Ich tüftel schon wie ich das weg bekomme aber finde es nicht raus möchte nur die Ranggrafik!
Hallo,
Ich tüftel schon wie ich das weg bekomme aber finde es nicht raus möchte nur die Ranggrafik!
Danke,
Hat geklappt!
Kann man das Thema iwie verstecken? und es nur per Verlinkung sichtbar machen?
Ich habe ja kein Link von einem Regelwerk!
Ich möchte eine Seite erstellen wo ich mein Regelwerk schreiben kann und dann als Verlinken
Wie erstelle ich einen Link das ich das dort machen kann?
Ja genau.
Hallo,
Ich möchte ein Regelwerk auf mein Forum erstellen aber ich weiß nicht wie ich das auf einer eigenen Seite machen kann wen man drauf geht das das Regel werk kommt.
if((newstate == PLAYER_STATE_DRIVER)) { for(new j=0; j<11; j++) GetPlayerWeaponData(playerid, j, Weapons[playerid][j], Ammo[playerid][j]); ResetPlayerWeapons(playerid); } if((newstate == PLAYER_STATE_ONFOOT) && ((oldstate == PLAYER_STATE_DRIVER))) { for(new j=0; j<11; j++) GivePlayerWeapon(playerid, Weapons[playerid][j], Ammo[playerid][j]); return 1; } if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { new Weap[2]; GetPlayerWeaponData(playerid, 4, Weap[0], Weap[1]); SetPlayerArmedWeapon(playerid, Weap[0]); }
Wie füge ich Waffen ein MP5 M4 usw? AK47 Shotgun?
//Pusch
braucht man den Client unbedingt?
Hallo ich Bearbeite derzeit ein GF und wollte fragen wo ich die waffen für Drive by einstellen kann?
ocmd:premium(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
new pID, Rank;
if(sscanf(params, "ui", pID, Rank)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /givedonator [Spieler-ID/Name] [Donatorrank]");
if(!IsPlayerConnected(pID)) return SendClientMessage(playerid, COLOR_WHITE, "Der Spieler ist nicht Online.");
if(Rank==0||Rank >= 5) return SendClientMessage(playerid, COLOR_GREY, "Es gibt nur die Ränge 1-4.");
if(Rank == 1) {
GivePlayerMoney(pID, 50000);
PlayerInfo[pID][pExp] += 3;
}
else if(Rank == 2) {
GivePlayerMoney(pID, 100000);
PlayerInfo[pID][pExp] += 6;
}
else if(Rank == 3) {
GivePlayerMoney(pID, 150000);
PlayerInfo[pID][pExp] += 9;
}
else if(Rank == 4) {
GivePlayerMoney(pID, 350000);
PlayerInfo[pID][pExp] += 12;
}
PlayerInfo[pID][pDonateRank] = Rank;
format(stringx, sizeof(stringx), "Herzlichen Glückwunsch! Du hast den Donator-Rang %d! Siehe unter /rechte zu sehen was er dir für Vorteile bringt.", Rank);
SendClientMessage(pID, COLOR_LIGHTBLUE, stringx);
format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s den Donator-Rang %d gegeben!", MeinName(playerid), MeinName(pID), Rank);
ABroadCast(COLOR_LIGHTRED, stringx, 1);
}
else return SendClientMessage(playerid, COLOR_WHITE, "Nur für Projektleiter/High Admins!");
return 1;
}
@shoxinat0r
Wie kann ich einstellen z.b
/premium [playerid/SpielerName] [Tage]
/premium [playerid/SpielerName] [Stunden]
/premium [u][playerid/SpielerName] [Premanent]
Wie kann ich das Einstellen?
Das alles in 1 Befehl?
for(new v;v< sizeof(LVPDVehs);v++)
{
new kennzeichen[12];
format(kennzeichen, sizeof(kennzeichen), "LV-%d", randomEx(1000, 9999));
SetVehicleNumberPlate(LVPDVehs[v], kennzeichen);
SetVehicleToRespawn(LVPDVehs[v]);
if(GetVehicleModel(LVPDVehs[v]) == 560)
{
new kennzeichen123456[12];
format(kennzeichen123456, sizeof(kennzeichen123456), "LV-%d", randomEx(1000, 9999));
SetVehicleNumberPlate(LVPDVehs[v], kennzeichen123456);
SetVehicleToRespawn(LVPDVehs[v]);
AddVehicleComponent(LVPDVehs[v], 1010);
}
}
Warum ist das Nitro nach Respawn nicht da?!
Hat Geklappt danke!
ocmd:gotols(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)return SendClientMessage(playerid, COLOR_GRAD1, "Dir ist es nicht erlaubt, diesen Befehl zu benutzen!");
if (GetPlayerState(playerid) == 2){
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1529.6725,-1673.1500,12.9887);
}else{
SetPlayerPos(playerid, 1529.6725,-1673.1500,12.9887);
}
SendClientMessage(playerid, COLOR_GRAD1, "Du hast dich Teleportiert!");
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
ocmd:gotosf(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)return SendClientMessage(playerid, COLOR_GRAD1, "Dir ist es nicht erlaubt, diesen Befehl zu benutzen!");
if (GetPlayerState(playerid) == 2){
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1417.0,-295.8,14.1);
}else{
SetPlayerPos(playerid, -1417.0,-295.8,14.1);
}
SendClientMessage(playerid, COLOR_GRAD1, "Du hast dich Teleportiert!");
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
ocmd:gotolv(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)return SendClientMessage(playerid, COLOR_GRAD1, "Dir ist es nicht erlaubt, diesen Befehl zu benutzen!");
if (GetPlayerState(playerid) == 2){
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1699.2, 1435.1, 10.7);
}else{
SetPlayerPos(playerid, 1699.2, 1435.1, 10.7);
}
SendClientMessage(playerid, COLOR_GRAD1, "Du hast dich Teleportiert!");
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
Hallo!
Ich hab ein Problem ich Hab den Admin Rang 5 und kann diese Befehle nicht nutzen warum?
CreateDynamicObject(1649, 1816.61633, -1274.31555, 14.28350, 0.00000, 0.00000, 1.89040);
CreateDynamicObject(1649, 1816.61597, -1274.33459, 17.56210, 0.00000, 0.00000, 1.89040);
CreateDynamicObject(1649, 1812.23865, -1274.81982, 14.28350, 0.00000, 0.00000, 11.21720);
CreateDynamicObject(1649, 1812.22302, -1274.88611, 17.48210, 0.00000, 0.00000, 11.21720);
CreateDynamicObject(1649, 1816.58142, -1274.35461, 17.56210, 0.00000, 0.00000, 1.89040);
CreateDynamicObject(1649, 1807.93152, -1275.67310, 14.28350, 0.00000, 0.00000, 11.21720);
CreateDynamicObject(1649, 1807.93152, -1275.67212, 17.56210, 0.00000, 0.00000, 11.21720);
CreateDynamicObject(1649, 1803.95276, -1277.35742, 14.28350, 0.00000, 0.00000, 34.60310);
CreateDynamicObject(1649, 1803.95276, -1277.35645, 17.56210, 0.00000, 0.00000, 34.60310);
CreateDynamicObject(1649, 1800.35876, -1279.83838, 14.28350, 0.00000, 0.00000, 34.60310);
CreateDynamicObject(1649, 1796.79956, -1282.34973, 14.28350, 0.00000, 0.00000, 35.80460);
CreateDynamicObject(1649, 1800.35876, -1279.83240, 17.56210, 0.00000, 0.00000, 34.60310);
CreateDynamicObject(1649, 1796.79956, -1282.34875, 17.56210, 0.00000, 0.00000, 35.80460);
CreateDynamicObject(1649, 1793.85168, -1284.59583, 16.99950, 0.00000, 90.00000, 38.84480);
CreateDynamicObject(1649, 1790.93030, -1286.89600, 17.56210, 0.00000, 0.00000, 38.61170);
CreateDynamicObject(1649, 1787.47546, -1289.52124, 17.56210, 0.00000, 0.00000, 36.02760);
CreateDynamicObject(1649, 1783.80762, -1291.88135, 17.56210, 0.00000, 0.00000, 29.70770);
CreateDynamicObject(1649, 1780.03821, -1294.02820, 17.56210, 0.00000, 0.00000, 29.70770);
CreateDynamicObject(1649, 1790.93030, -1286.89685, 14.28350, 0.00000, 0.00000, 38.16904);
CreateDynamicObject(1649, 1787.47546, -1289.52234, 14.28350, 0.00000, 0.00000, 36.02760);
CreateDynamicObject(1649, 1783.80762, -1291.88245, 14.28350, 0.00000, 0.00000, 29.70770);
CreateDynamicObject(1649, 1780.03821, -1294.02917, 14.28350, 0.00000, 0.00000, 29.70770);
CreateDynamicObject(1649, 1776.66125, -1296.69360, 17.56210, 0.00000, 0.00000, 47.05010);
CreateDynamicObject(1649, 1776.66125, -1296.69458, 14.28350, 0.00000, 0.00000, 47.05010);
Ich habe eine Frage habe ein Glass hingemappt aber ist von Außen nicht sichtbar nur von "Innen" und wie mache ich das Unzerstörbar?
if (strcmp(cmd, "/check", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "Benutzung: /check [Spieler ID]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
Stats(playerid,giveplayerid);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Der Spieler wurde nicht gefunden!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist nicht befugt!");
}
}
return 1;
}
if(strcmp(cmd, "/ban", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /ban [playerid] [grund]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /ban [playerid] [grund]");
return 1;
}
if(PlayerInfo[giveplayerid][pAdmin] > PlayerInfo[playerid][pAdmin] > PlayerInfo[playerid][pSupporter])
{
SendClientMessage(playerid, COLOR_GRAD2, "Du kannst diesen Spieler nicht bannen, da er ein höheres Adminlevel hat als du!");
return 1;
}
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "%s wurde von %s gebannt, Grund: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
BanLog(string);
format(string, sizeof(string), "%s wurde von %s gebannt, Grund: %s", giveplayer, sendername, (result));
SendClientMessageToAll(COLOR_RED, string);
//PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pGesperrt] = 1;
//(giveplayerid);
Kick(giveplayerid);
return 1;
}
}//not connected
}
else
{
format(string, sizeof(string), " %d ist kein aktiver Spieler.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}
Hallo, ich wollte ein Command machen ocmd:tban aber ich weiß nicht wie ich das machen soll kann mir jemand bitte helfen?
if(newkeys & KEY_SECONDARY_ATTACK )
{
if(ChooseSkin[playerid] == 1)
{
new skin = GetPlayerSkin(playerid);
PlayerInfo[playerid][pModel] = skin;
PlayerInfo[playerid][pChar] = skin;
ChooseSkin[playerid] = 0;
SpawnPlayer(playerid);
TogglePlayerControllable(playerid,1);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
new ChooseSkin[MAX_PLAYERS];
new GroveSkins[] = {105,106,107,269,271,65};
new SFRifaSkins[] = {114,115,116,173,174,175,184,273,195,298};
new RMafiaSkins[] = {111,112,113,124,125,126,127,272,40}; //9 //6
new YakuzaSkins[] = {122,123,186,203,204,228,169,224}; //12 //6
new LCMSkins[] = {46,47,48,98,195,223,214}; //17 //5
new HitmanSkins[55] = {2,3,6,7,14,15,18,19,20,21,22,23,24,25,26,29,38,45,66,72,73,97,101,134,137,142,180,210,217,220,230,10,11,39,41,54,55,69,77,88,89,90,93,141,190,192,199,211,243,251}; //19 //5
new BallasSkins[] = {102,103,104,293,13}; //21 //4
new NewsSkins[] = {60,170,188,227,240,250,56,226}; //22 //4
new ZiviSkins[] = {12,141,230,137,2,1,3,7,14,18,20,19,21,22,23,26,25,37,45,59,72,73,101,134,136,142,180,182,210,217,220,221,222,239}; //0 //10
new LSPDSkins[] = {163,164,265,266,267,280,281,282,283,284,288,194,93}; //1 //7
new FBISkins[] = {165,166,286,294,194,93};
new OamtSkins[] = {8,50,71,233}; //2 //5
new MedicSkins[] = {70,274,275,276,193}; //4 //3
new TerrorSkins[] = {12,141,230,137,2,1,3,7,14,18,20,19,21,22,23,26,25,37,45,59,72,73,101,134,136,142,180,182,210,217,220,221,222,239};
new LVPDSkins[] = {163,164,282,283,288,194};
if(strcmp(cmd,"/einvite",true) == 0)
{
tmp = strtok(cmdtext,idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "BENUTZUNG: /einladung [annehmen/ablehnen]");
return 1;
}
if(Eingeladen[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, "Du wurdest in keine Fraktion eingeladen!");
return 1;
}
if(strcmp(tmp,"annehmen",true) == 0)
{
if(Eingeladen[playerid] == 1) { PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); }
else if(Eingeladen[playerid] == 2) { PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); }
else if(Eingeladen[playerid] == 3) { PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; ChosenSkin[playerid] = 287; SetPlayerSkin(playerid, 287); }
else if(Eingeladen[playerid] == 4) { PlayerInfo[playerid][pTeam] = 1; gTeam[playerid] = 1; ChosenSkin[playerid] = 70; SetPlayerSkin(playerid, 70); }
else if(Eingeladen[playerid] == 5) { PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; ChosenSkin[playerid] = 258; SetPlayerSkin(playerid, 120); }
else if(Eingeladen[playerid] == 6) { PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; ChosenSkin[playerid] = 294; SetPlayerSkin(playerid, 294); }
else if(Eingeladen[playerid] == 7) { PlayerInfo[playerid][pTeam] = 7; gTeam[playerid] = 7; ChosenSkin[playerid] = 164; SetPlayerSkin(playerid, 164); }
else if(Eingeladen[playerid] == 8) { PlayerInfo[playerid][pTeam] = 8; gTeam[playerid] = 8; ChosenSkin[playerid] = 250; SetPlayerSkin(playerid, 250); }
else if(Eingeladen[playerid] == 9) { PlayerInfo[playerid][pTeam] = 9; gTeam[playerid] = 9; ChosenSkin[playerid] = 187; SetPlayerSkin(playerid, 187); }
else if(Eingeladen[playerid] == 10) { PlayerInfo[playerid][pTeam] = 10; gTeam[playerid] = 10; ChosenSkin[playerid] = 255; SetPlayerSkin(playerid, 255); }
else if(Eingeladen[playerid] == 11) { PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; ChosenSkin[playerid] = 240; SetPlayerSkin(playerid, 240); }
else if(Eingeladen[playerid] == 12) { PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; ChosenSkin[playerid] = 118; SetPlayerSkin(playerid, 118); }//Fuegos
else if(Eingeladen[playerid] == 13) { PlayerInfo[playerid][pTeam] = 13; gTeam[playerid] = 13; ChosenSkin[playerid] = 105; SetPlayerSkin(playerid, 105); }//Grove
else if(Eingeladen[playerid] == 14) { PlayerInfo[playerid][pTeam] = 14; gTeam[playerid] = 14; ChosenSkin[playerid] = 102; SetPlayerSkin(playerid, 102); }//Ballas
else if(Eingeladen[playerid] == 15) { PlayerInfo[playerid][pTeam] = 15; gTeam[playerid] = 15; ChosenSkin[playerid] = 185; SetPlayerSkin(playerid, 185); }//Street Racer
else if(Eingeladen[playerid] == 16) { PlayerInfo[playerid][pTeam] = 16; gTeam[playerid] = 16; ChosenSkin[playerid] = 108; SetPlayerSkin(playerid, 108); }//Los Santos Vagos
else if(Eingeladen[playerid] == 17) { PlayerInfo[playerid][pTeam] = 17; gTeam[playerid] = 17; ChosenSkin[playerid] = 114; SetPlayerSkin(playerid, 114); }//Varios Los Aztecas
else if(Eingeladen[playerid] == 18) { PlayerInfo[playerid][pTeam] = 18; gTeam[playerid] = 18; ChosenSkin[playerid] = 173; SetPlayerSkin(playerid, 173); }//Los Santos Rifa
else if(Eingeladen[playerid] == 19) { PlayerInfo[playerid][pTeam] = 19; gTeam[playerid] = 19; ChosenSkin[playerid] = 234; SetPlayerSkin(playerid, 234); }//West Coust Customs
else if(Eingeladen[playerid] == 20) { PlayerInfo[playerid][pTeam] = 20; gTeam[playerid] = 20; ChosenSkin[playerid] = 220; SetPlayerSkin(playerid, 220); }
else if(Eingeladen[playerid] == 21) { PlayerInfo[playerid][pTeam] = 21; gTeam[playerid] = 21; ChosenSkin[playerid] = 28; SetPlayerSkin(playerid, 28); } else if(Eingeladen[playerid] == 22) { PlayerInfo[playerid][pTeam] = 22; gTeam[playerid] = 22; ChosenSkin[playerid] = 274; SetPlayerSkin(playerid, 274); }
else if(Eingeladen[playerid] == 23) { PlayerInfo[playerid][pTeam] = 23; gTeam[playerid] = 23; ChosenSkin[playerid] = 133; SetPlayerSkin(playerid, 133); }
else if(Eingeladen[playerid] == 24) { PlayerInfo[playerid][pTeam] = 24; gTeam[playerid] = 24; ChosenSkin[playerid] = 255; SetPlayerSkin(playerid, 255); }
else { return 1; }
GetPlayerName(playerid,sendername,sizeof(sendername));
PlayerInfo[playerid][pMember] = Eingeladen[playerid];
PlayerInfo[playerid][pRank] = 1;
format(string,sizeof(string)," %s hat die Einladung in die Fraktion %s angenommen!",sendername,Fracs[Eingeladen[playerid]-1]);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pLeader] == Eingeladen[playerid])
{
SendClientMessage(i,COLOR_LIGHTBLUE,string);
}
}
}
ChooseSkin[playerid] = 1;
SetPlayerPos(playerid,438.4619,-1749.7987,8.9587);
SetPlayerFacingAngle(playerid, 225.8304);
SetPlayerCameraPos(playerid, 442.4785,-1753.8348,10.1118);
SetPlayerCameraLookAt(playerid, 438.4619,-1749.7987,8.9587);
TogglePlayerControllable(playerid,0);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,playerid);
SendClientMessage(playerid, COLOR_YELLOW, "========== [Skinauswahl] ==========");
SendClientMessage(playerid, COLOR_WHITE, "Drücke Shift um zum Nächsten Skin zu wechseln.");
SendClientMessage(playerid, COLOR_WHITE, "Drücke F oder ENTER um den Gewählten Skin zu benutzen.");
if(IsPlayerInFrac(playerid,5))
{
SetPlayerSkin(playerid, LCMSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,6))
{
SetPlayerSkin(playerid, YakuzaSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,8))
{
SetPlayerSkin(playerid, HitmanSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,9))
{
SetPlayerSkin(playerid, NewsSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,13))
{
SetPlayerSkin(playerid, GroveSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,14))
{
SetPlayerSkin(playerid, BallasSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,18))
{
SetPlayerSkin(playerid, SFRifaSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,23))
{
SetPlayerSkin(playerid, RMafiaSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,1))
{
SetPlayerSkin(playerid, LSPDSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,2))
{
SetPlayerSkin(playerid, FBISkins[0]);
}
else if(IsPlayerInFrac(playerid,3))
{
SetPlayerSkin(playerid, LVPDSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,4))
{
SetPlayerSkin(playerid, MedicSkins[0]);
return 1;
}
else if(IsPlayerInFrac(playerid,24))
{
SetPlayerSkin(playerid, OamtSkins[0]);
return 1;
}
else
{
SetPlayerSkin(playerid, ZiviSkins[0]);
return 1;
}
}
else if(strcmp(tmp,"ablehnen",true) == 0)
{
format(string,sizeof(string)," %s hat die Einladung in die Fraktion %s abgelehnt!",sendername,Fracs[Eingeladen[playerid]-1]);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pLeader] == Eingeladen[playerid])
{
SendClientMessage(i,COLOR_LIGHTBLUE,string);
}
}
}
Eingeladen[playerid] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutzung: /einladung [annehmen/ablehnen]");
}
return 1;
}