Hallo Liebe leute ich habe ein unbann ip befehle aber es kommen errors bitte hilft mir mall
if(strcmp(cmd,"/unbanip",true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
tmp = strtok(cmdtext,idx);
if(!strlen(tmp))
{
SendClientMessage(playerid,COLOR_GRAD1,"USAGE: /unbanip [IP Adresse]");
return 1;
}
format(string,sizeof(string),"unbanip %s",tmp);
SendRconCommand(string);
SendRconCommand("reloadbans");
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "AdmCmd: %s hat die IP %s entbannt!", sendername,tmp);
ABroadCast(COLOR_LIGHTRED,string,1);
}
return 1;
}
Beiträge von Mezzomix
-
-
ja ein timer hört sich gut an und wie=??
-
-
Hallo Leute also ich habe ein armor befehle drin aber mann kann es 100000 benutzen?
if(strcmp(cmd, "/ballasarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
if (IsPlayerInRangeOfPoint(playerid,3.0,2569.3640,-1094.7861,66.6263)||IsPlayerInRangeOfPoint(playerid,3.0,2569.3640,-1094.7861,66.6263))
{
if(GetPlayerMoney(playerid) >= 0)
{SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
}
else
{}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am Ballas armor Point!");
}
}
return 1;
}
//================HITMAN MASKE ENDE====================
if(strcmp(cmd, "/armor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
// if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
if (IsPlayerInRangeOfPoint(playerid,3.0,2819.0176,-1172.2887,1025.5703)||IsPlayerInRangeOfPoint(playerid,3.0,2819.0176,-1172.2887,1025.5703))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SetPlayerInterior(playerid,8);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===========================================FRAKTION ARMOR=============================
if(strcmp(cmd, "/lcnarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
if (IsPlayerInRangeOfPoint(playerid,3.0,1647.7377,-1813.4070,13.5343)||IsPlayerInRangeOfPoint(playerid,3.0,1647.7377,-1813.4070,13.5343))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//=====================================
if(strcmp(cmd, "/yakiarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2717.9670,-317.2987,7.8438)||IsPlayerInRangeOfPoint(playerid,3.0,-2717.9670,-317.2987,7.8438))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/hitmanarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
if (IsPlayerInRangeOfPoint(playerid,3.0,2149.6931,-1808.4832,16.1440)||IsPlayerInRangeOfPoint(playerid,3.0,2149.6931,-1808.4832,16.1440))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/fuegosarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2115.0789,-178.0732,35.3203)||IsPlayerInRangeOfPoint(playerid,3.0,-2115.0789,-178.0732,35.3203))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/gsfarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
if (IsPlayerInRangeOfPoint(playerid,3.0,2497.9807,-1687.7264,13.5108)||IsPlayerInRangeOfPoint(playerid,3.0,2497.9807,-1687.7264,13.5108))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/bikearmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2032.3395,164.5288,28.8359)||IsPlayerInRangeOfPoint(playerid,3.0,-2032.3395,164.5288,28.8359))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/vagosarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
if (IsPlayerInRangeOfPoint(playerid,3.0,2536.5503,-1060.8982,69.5679)||IsPlayerInRangeOfPoint(playerid,3.0,2536.5503,-1060.8982,69.5679))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/atzearmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
if (IsPlayerInRangeOfPoint(playerid,3.0,-691.8252,937.3750,13.6328)||IsPlayerInRangeOfPoint(playerid,3.0,-691.8252,937.3750,13.6328))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/rifaarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
if (IsPlayerInRangeOfPoint(playerid,3.0,2819.3853,-1171.7512,1025.5703)||IsPlayerInRangeOfPoint(playerid,3.0,2819.3853,-1171.7512,1025.5703))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
} -
warte ich guck
-
ey guck dir das andere an mit den Kllammern=
-
da fehlt was?
-
Ja ich habe ein fehler hier guck dir mall das an pls
if(strcmp(cmd, "/healme", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (IsPlayerInRangeOfPoint(playerid,3.0,1173.2563,-1323.3102,15.3943)||IsPlayerInRangeOfPoint(playerid,3.0,2029.5945,-1404.6426,17.2512))
{
if(STDPlayer[playerid] > 0)
{
STDPlayer[playerid] = 0;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du hast keine Geschlechtskrankheit mehr weil du im Krankenhaus behandelt wurdest !");
GivePlayerMoney(playerid, -1000);
SendClientMessage(playerid, TEAM_CYAN_COLOR, "ARZT: Deine Behandlungskosten betragen $1000,-. Schönen Tag noch!");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du hast keine");
} -
Hallo Liebe Leute ich habe nur beim GNE script die /frakkammer zu /gangwaffenbox geändernt und dann kammen 26 errors ??? Der Name MezzoMix RolePlay besteht aus Selfmade name den haben wir uns allein aus gedachte Also Alle Rechte Sind bei uns Vorbehalten MFG Mezzo
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\pawno\include\M_Bot.inc(165) : error 017: undefined symbol "IsAnAdmin"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3568) : error 017: undefined symbol "FRAC_OnPlayerEnterVehicle"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3604) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3614) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3624) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3632) : error 017: undefined symbol "IsAFahrschulVeh"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3645) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3655) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(3665) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(4236) : error 017: undefined symbol "OnPlayerCarLogin"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(4444) : error 017: undefined symbol "ShowConInfo"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(4835) : error 017: undefined symbol "GW_OnPlayerDisconnect"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(4967) : error 017: undefined symbol "RemoveBlitzer"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(4982) : error 017: undefined symbol "OnPlayerCarUpdate"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(5171) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(5184) : error 017: undefined symbol "RemoveRoadblock"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(5196) : error 017: undefined symbol "IsPlayerInFrac"
C:\Users\suleyman\Desktop\Mezzo Mix RolePlay by mario und sulo\gamemodes\mRP.pwn(5295) : error 017: undefined symbol "SetPlayerToKnast" -
Hallo Liebe leute guten abend also ich habe ein unbann befehle und es geht nicht wenn ich es ingame eingebe passiert das ? unkown Command? hier der Command? BITTE hilft
dcmd_unban(playerid, params[])
{
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
new accname[MAX_PLAYER_NAME];
if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
new acc[MAX_PLAYER_NAME+20];
format(acc,sizeof(acc),"/Accounts/%s.ini",accname);
if(!fexist(acc)) {
format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
SendClientMessage(playerid,COLOR_GRAD2,stringx);
return 1;
}
new File:banaccount = fopen(acc,io_write);
fwrite(banaccount,"Gesperrt=0\n");
fclose(banaccount);
format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
return 1;
} -
Hallo Liebe Leute also ich habe ein unban befehle im script und wenn ich ingame /unban schreibe Passiert nur das Unkown Command hier der Command
dcmd_unban(playerid, params[])
{
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
new accname[MAX_PLAYER_NAME];
if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
new acc[MAX_PLAYER_NAME+20];
format(acc,sizeof(acc),"/Accounts/%s.ini",accname);
if(!fexist(acc)) {
format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
SendClientMessage(playerid,COLOR_GRAD2,stringx);
return 1;
}
new File:banaccount = fopen(acc,io_write);
fwrite(banaccount,"Gesperrt=0\n");
fclose(banaccount);
format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
return 1;
}und mein bann befehle vielecht braucht ihr den!
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), "AdmCmd: %s wurde von %s gebannt, Grund: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
BanLog(string);
format(string, sizeof(string), "AdmCmd: %s wurde von %s gebannt, Grund: %s", giveplayer, sendername, (result));
SendClientMessageToAll(COLOR_LIGHTRED, string);
//PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pGesperrt] = 1;
//Ban(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;
} -
also die spawn alle in einem gleichen interior ich will das interior 8 benutzen aber nur ich will das es Ballas,vagos,rifa,terror auch benutzen können ohne das die alle bei ballas interior spawn?
-
Hallo Leute also ich habe die gangs VAGOS BALLAS Terror RIFA und die spawn alle in einem interior da steht SetPlayerVirtualWorld 8 aber wenn ich es zum zum beispiel rifa 9 vagos 10 terror 11 ballas 12 mache geht es nicht?
if(strcmp(cmd, "/vaenter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2151.1638,-1013.9731,62.7305))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,;
SetPlayerVirtualWorld(playerid,;
}
}
}
if(strcmp(cmd, "/vaexit", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,2153.0352,-1012.7573,62.9115);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}
if(strcmp(cmd, "/Rienter", true) == 0 || strcmp(cmd, "/ram", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,1042.5359,1010.4261,11.0000))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,;
SetPlayerVirtualWorld(playerid,10);
}
}
}
if(strcmp(cmd, "/Riexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,1043.9205,1013.2769,11.0000);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}
if(strcmp(cmd, "/Terenter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,-314.1271,1774.8267,43.6406))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,;
SetPlayerVirtualWorld(playerid,12);
}
}
}
if(strcmp(cmd, "/Terexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,-314.1271,1774.8267,43.6406);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}if(strcmp(cmd, "/benter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)//ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2572.3323,-1091.8234,67.2257))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,6);
}
}
}
if(strcmp(cmd, "/bexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)// Ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,2570.4004,-1089.5715,66.8322);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
} -
kleine frage wo kommt das hin ?
-
habs drin und jetzt?