wie erstell ich so ne anfrage das man nicht gebannt wird?
Beiträge von sunny607
-
-
möchte es entfernen weil man zb wenn man als admin ne rpg holen will automatisch gebannt wird
-
// if(M_Bot[i][PAFK] == 0)
{
if(MoneyMessage[i]==1)
{
if(PlayerInfo[i][pJailed] == 0 && WantedLevel[i] >= 0)
{
SendClientMessage(i, COLOR_LIGHTRED, "Du konntest deine Schulden nicht Bezahlen und sitzt nun 30 Min im Knast!");
SendClientMessage(i, COLOR_LIGHTRED, "Dein Geld wurde Resettet!");
SetPlayerInterior(i, 3);
SetPlayerPos(i,197.8290,161.8141,1003.0300);
PlayerInfo[i][pJailTime] += 1800;
PlayerInfo[i][pJailed] = 1;
ResetPlayerMoney(i);
GivePlayerMoney(i,(PlayerInfo[i][pCash] * 0)+101);
}
}
new playername2[MAX_PLAYER_NAME];
GetPlayerName(i, playername2, sizeof(playername2));
account = PlayerInfo[i][pAccount];
new key = PlayerInfo[i][pPhousekey];
if(key != 255)
{
rent = HouseInfo[key][hRent];
if(strcmp(playername2, HouseInfo[key][hOwner], true) == 0)
{
rent = 0;
}
else if(rent > GetPlayerMoney(i))
{
PlayerInfo[i][pPhousekey] = 255;
SendClientMessage(i, COLOR_WHITE, "Du wurdest aus der Wohnung geschmissen!");
rent = 0;
}
HouseInfo[key][hTakings] = HouseInfo[key][hTakings]+rent;
}
new tmpintrate;
if (key != 255 && strcmp(playername2, HouseInfo[key][hOwner], true) == 0)
{
if(PlayerInfo[i][pDonateRank] > 2)
{
tmpintrate = intrate = 6;
}
else
{
tmpintrate = intrate + 6;
}//HouseInfo[key][hLevel]
}
else
{
if(PlayerInfo[i][pDonateRank] > 0)
{
tmpintrate = 4;
}
else
{
tmpintrate = 2;
}
}
new fraktion = 0;
new checks;
if(PlayerInfo[i][pMember] > 0) fraktion = PlayerInfo[i][pMember] - 1;
if(PlayerInfo[i][pLeader] > 0) fraktion = PlayerInfo[i][pLeader] - 1;
if(fraktion >= 0)
{
if(FraktionsKasse[fraktion] - PlayerInfo[i][pGehalt])
{
GivePlayerMoney(i, checks);
checks = PlayerInfo[i][pGehalt];
GivePlayerMoney(i, checks);
FraktionsKasse[fraktion] -= checks;
}
}
else if(PlayerInfo[i][pJob] != 0 || PlayerInfo[i][pMember] == 0 || PlayerInfo[i][pLeader] == 0)
{
checks = 500;
GivePlayerMoney(i, checks);
}//Should work for every player online
PlayerInfo[i][pAccount] -= Tax;
FraktionsKasse[6] += Tax;
if(PlayerInfo[i][pDonateRank] > 0)
{
new bonus = PlayerInfo[i][pPayCheck] / 2;
PlayerInfo[i][pPayCheck] += bonus;
}
new ebill = (PlayerInfo[i][pAccount]/5000)*(PlayerInfo[i][pLevel]);
//new oil = (PlayerInfo[i][pPhousekey]*100);
ConsumingMoney[i] = 1;
if(PlayerInfo[i][pAccount] > 0)
{
PlayerInfo[i][pAccount] -= ebill;
SBizzInfo[3][sbTill] = SBizzInfo[3][sbTill] + ebill;
}
else
{
ebill = 0;
}
interest = (PlayerInfo[i][pAccount]/1000)*(tmpintrate);
PlayerInfo[i][pExp]++;
PlayerPlayMusic(i);
PlayerInfo[i][pAccount] = account+interest;
SendClientMessage(i, COLOR_GOLD, "|================| KONTOAUSZUG |================|");
format(string, sizeof(string), " Gehalt: $%d Miete: -$%d Steuern: -$%d", checks, rent, Tax);
SendClientMessage(i, COLOR_GRAD1, string);
if(PlayerInfo[i][pPhousekey] != 255 || PlayerInfo[i][pPbiskey] != 255)
{
format(string, sizeof(string), " Strom Kosten: -$%d", ebill);
SendClientMessage(i, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pHandyVer] == 1)
{
SendClientMessage(i,COLOR_GRAD2," Handyvertragskosten: -$100");
GivePlayerMoney(i, -100);
}
if(PlayerInfo[i][pPlayerKreditDauer] > 0)
{
PlayerInfo[i][pAccount] -= PlayerInfo[i][pPlayerKredit];
PlayerInfo[i][pPlayerKreditDauer]--;
format(string, sizeof(string), " Kreditrate: -%d", PlayerInfo[i][pPlayerKredit]);
SendClientMessage(i, COLOR_GRAD1, string);
}
format(string, sizeof(string), " Zinsen: $%d [0.%d Prozent]", interest,tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
SendClientMessage(i, COLOR_GOLD, "|=================||============||==============|");
format(string, sizeof(string), " Neuer Kontostand: $%d", PlayerInfo[i][pAccount]);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "~g~PayDay~y~!!!");
GameTextForPlayer(i, string, 5000, 1);
if(arbeitslosengeld[i] == 1)
{
GivePlayerMoney(i, 500);
SendClientMessage(i, COLOR_PLAVA1, "Du hast 500€ Arbeitslosengeld erhalten!");
return 1;
}
if(PlayerInfo[i][pZollPass] == 1)
{
PlayerInfo[i][pZollPassTime] += 1;
format(string, sizeof(string), "* Du nutzt deinen Zollpass nun schon seit %d PayDays.", PlayerInfo[i][pZollPassTime]);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
if(PlayerInfo[i][pZollPassTime] >= 15)
{
PlayerInfo[i][pZollPass] = 0;
PlayerInfo[i][pZollPassTime] = 0;
format(string, sizeof(string), "* Dein Zollpass ist nun nicht mehr gültig und vom Staat als ungültig anerkannt.");
SendClientMessage(i, COLOR_LIGHTRED, string);
}
if(PlayerInfo[i][pKrankenkasse] == 1)
{
PlayerInfo[i][pKrankenkasseTime] += 1;
format(string, sizeof(string), "* Du besitzt nun schon seit %d PayDays eine Krankenversicherung.", PlayerInfo[i][pKrankenkasseTime]);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
if(PlayerInfo[i][pKrankenkasseTime] >= 12)
{
PlayerInfo[i][pKrankenkasse] = 0;
PlayerInfo[i][pKrankenkasseTime] = 0;
format(string, sizeof(string), "* Deine Krankenversicherung ist abgelaufen. Du kannst dir in der Stadthalle jederzeit eine neue besorgen.");
SendClientMessage(i, COLOR_LIGHTRED, string);
}
if(checks == 0 && FrakMember(i) && PlayerInfo[i][pJob] == 0)
{
SendClientMessage(i,COLOR_LIGHTRED, "Dein Leader hat dir kein Gehalt gesetzt oder die Fraktionskasse ist leer!");
SendClientMessage(i,COLOR_LIGHTRED, "Vordre ihn auf dir dein Gehalt mit /setlohn einzustellen!");
}
rent = 0;
PlayerInfo[i][pPayCheck] = 0;
PlayerInfo[i][pConnectTime] += 1;
if(WantedLevel[i] >= 1)
{
WantedLevel[i] --;
new wlevel;
wlevel = GetPlayerWantedLevel(i);
new tmp[64];
format(tmp,sizeof(tmp), "Aktuelles Wantedlevel: %i", wlevel);
SendClientMessage(i, COLOR_GREEN,tmp);
} -
WantedLevel[i] --;
new wlevel;
wlevel = GetPlayerWantedLevel(i);
new tmp[64];
format(tmp,sizeof(tmp), "Aktuelles Wantedlevel: %i", wlevel);
SendClientMessage(i, COLOR_GREEN,tmp);
}
if(PlayerInfo[i][pDonateRank] > 0)
{
PlayerInfo[i][pPayDayHad] += 1;
if(PlayerInfo[i][pPayDayHad] >= 5)
{
PlayerInfo[i][pExp]++;
PlayerInfo[i][pPayDayHad] = 0;
}
}
}
else
{
SendClientMessage(i, COLOR_LIGHTRED, "* AFK-Schnorrer bekommen keinen PayDay!!");
}
}
}
if(KnastTime[i] > 0)
{
KnastTime[i]--;
}
if(KnastTime[i] == 0 && Knast[i] > 0)
{
Knast[i] = 0;
KnastTime[i] = 0;
SpawnPlayer(i);
SendClientMessage(i,COLOR_YELLOW," Benimm dich ab jetzt, oder ein Admin wird dich wieder einsperren!");
}
}
}
return 1;
} -
hab noch ein fehler
C:\Users\Julia\Desktop\test 2\test\pawno\German-Elite-Reallife.pwn(62173) : error 029: invalid expression, assumed zero
in der zeile steht es so
else
-
hier
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(3908) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(4943) : error 017: undefined symbol "M_OnPlayerConnect"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(5345) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(6850) : error 017: undefined symbol "FreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(6903) : warning 202: number of arguments does not match definition
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(7468) : error 017: undefined symbol "M_OnPlayerDeath"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(7890) : error 017: undefined symbol "M_OnPlayerSpawn"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(9999) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(10503) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(10647) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(10790) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(10874) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(11331) : error 017: undefined symbol "FreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(11340) : error 017: undefined symbol "FreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(11349) : error 017: undefined symbol "FreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(11755) : error 017: undefined symbol "M_OnPlayerStateChange"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(13201) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(13292) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(13531) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(13656) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(13933) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(14159) : error 017: undefined symbol "FreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(14195) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(14226) : error 017: undefined symbol "UnFreezePlayer"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15675) : error 017: undefined symbol "EnableM_Bot"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15142) : warning 204: symbol is assigned a value that is never used: "vehicle5"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15140) : warning 204: symbol is assigned a value that is never used: "vehicle2"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15139) : warning 204: symbol is assigned a value that is never used: "vehicle3"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15138) : warning 204: symbol is assigned a value that is never used: "vehicle4"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15137) : warning 204: symbol is assigned a value that is never used: "vehicle6"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(15136) : warning 204: symbol is assigned a value that is never used: "vehicle7"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(22206) : error 017: undefined symbol "M_OnPlayerUpdate"
C:\Users\Julia\Desktop\test 2\test\pawno\rn.pwn(23358) : error 017: undefined symbol "M_OnPlayerCommandText"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
-
Habe nun //#include <M_Bot>
entfernt und nun 26 errors
-
es wurde von jemand andern hochgeladen und veröffentlich halt nur auf der seite von MrMonat
-
oh hab ebend den fehler gefunden danke trotzdem
-
eig nich steht alles auf #include <a_samp>
//#include <a_npc>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
#include <M_Bot>
#pragma dynamic 8192 -
Habe es so
//----------------------------------[ooc]-----------------------------------------------
if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " Du bist noch nicht Eingeloggt !");
return 1;
}
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, " Du kannst nicht sprechen, du bist gemutet !");
return 1;
}
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, "NUTZUNG: (/o)oc [ooc chat]");
return 1;
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "(( *%d Admin %s: %s))", PlayerInfo[playerid][pAdmin], sendername, result);
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
format(string, sizeof(string), "(( *%d Supporter %s: %s))", PlayerInfo[playerid][pSupporter], sendername, result);
}
else return 1;
OOCOff(COLOR_OOC,string);
Log("OA-Chat.txt",string);
}
return 1;
}
if(strcmp(cmd, "/noshowme", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3 && ShowMeAllowed == 1)
{
ShowMeAllowed = 0;
BroadCast(COLOR_GRAD2, " ShowMe Ausgeschaltet !");
}
else if (PlayerInfo[playerid][pAdmin] >= 3 && ShowMeAllowed == 0)
{
ShowMeAllowed = 1;
BroadCast(COLOR_GRAD2, " ShowMe Angeschaltet!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Tu das Lieber nicht!");
}
}
return 1;
}
if(strcmp(cmd, "/noooc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1337 && (!noooc))
{
noooc = 1;
BroadCast(COLOR_GRAD2, " OOC Ausgeschaltet !");
}
else if (PlayerInfo[playerid][pAdmin] >= 1337 && (noooc))
{
noooc = 0;
BroadCast(COLOR_GRAD2, " OOC Angeschaltet!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Tu das Lieber nicht!");
}
}
return 1;
}//----------------------------------[advertise]-----------------------------------------------
if(strcmp(cmd, "/advertise", true) == 0 || strcmp(cmd, "/ad", true) == 0)
{
if(PlayerInfo[playerid][pLevel] >= 2)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " Du bist noch nicht eingeloggt !");
return 1;
}
if(!IsPlayerInRangeOfPoint(playerid,3.0,-2036.2543,474.6458,35.1719))
{
SendClientMessage(playerid, COLOR_RED, "Du bist nicht am CNN Tower");
return 1;
}
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, "NUTZUNG: (/ad)vertise [text]");
return 1;
}
if ((!adds) && (PlayerInfo[playerid][pAdmin] < 1))
{
format(string, sizeof(string), "Bitte Versuch es Später wieder %d sekunden zwischen einer Advertisement !", (addtimer/1000));
SendClientMessage(playerid, COLOR_GRAD2, string);
return 1;}
new payout = idx * 5;
if(GetPlayerMoney(playerid) < payout)
{
format(string, sizeof(string), "* Du hast %d characters benutzt das kostet $%d, du hast nicht genug.", offset, payout);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}
GivePlayerMoney(playerid, - payout);
SBizzInfo[7][sbTill] += payout;
ExtortionSBiz(7, payout);
format(string, sizeof(string), "Werbung: %s, Von: %s PH: %d", result, sendername,PlayerInfo[playerid][pPnumber]);
OOCNews(TEAM_GROVE_COLOR,string);
format(string, sizeof(string), "~r~Abzug $%d~n~~w~Nachricht hat: %d Characters erreicht", payout, idx);
GameTextForPlayer(playerid, string, 5000, 5);
if (PlayerInfo[playerid][pAdmin] < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;}
}
}
else SendClientMessage(playerid,COLOR_RED,"Du brauchst Level 3 um eine /ad zu schreiben.");
return 1;
}//----------------------------------[government]-----------------------------------------------
if(strcmp(cmd, "/government", true) == 0 || strcmp(cmd, "/gov", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] != 2 && !IsACop(playerid))
{
SendClientMessage(playerid, COLOR_GREY, " Du bist kein Polizist !");
return 1;
}
if(PlayerInfo[playerid][pRank] < 5)
{
SendClientMessage(playerid, COLOR_GREY, " Du brauchst Rang 5 !");
return 1;
}
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, "Benutze: (/gov)ernment [text]");
return 1;
}
SendClientMessageToAll(COLOR_WHITE, "|___________ Regierungsnachrichten ___________|");
if(PlayerInfo[playerid][pLeader] == 7)
{
format(string, sizeof(string), "Präsident %s: %s", sendername, result);
}
else if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2)
{
format(string, sizeof(string), "Chief %s: %s", sendername, result);
}
else if(PlayerInfo[playerid][pLeader] == 21)
{
format(string, sizeof(string), "FBI Direktor %s: %s", sendername, result);
}
else format(string, sizeof(string), "Beamter %s: %s", sendername, result);
SendClientMessageToAll(COLOR_DBLUE, string);
}
return 1;
}
//----------------------------------[togooc]-----------------------------------------------if(strcmp(cmd, "/togooc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (!gOoc[playerid])
{
gOoc[playerid] = 1;
SendClientMessage(playerid, COLOR_GRAD2, " OOC chat channel Ausgeschaltet !");
}
else if (gOoc[playerid])
{
gOoc[playerid] = 0;
SendClientMessage(playerid, COLOR_GRAD2, " OOC chat channel Eingeschalten !");
}
}
return 1;
}aber bekomme diese medung immer
pawno\include\core.inc(12) : error 010: invalid function or declarationIch hoffe ihr könnt helfen hab nix brauchbares per sufu gefunden
-
-
Hallo habe folgendes problem
ich möchte das man /prison id grund wie kann ich das ändern?und bzw /unprison erstellen?
if(strcmp(cmd, "/prison",true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 2)
{
SendClientMessage(playerid, COLOR_GREY, " Du bist kein Admin !");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutze: /prison [playerid]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Du hast %s nach Fort DeMorgan teleportiert.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Du wurdest von Admin %s zur Toilette des Todes teleportiert.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Willkommen in ~n~~r~der Toilette des Todes", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
SetPlayerWantedLevel(giveplayerid,0);
PlayerInfo[giveplayerid][pJailed] = 2;
PlayerInfo[giveplayerid][pJailTime] = 3600;
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid,18);
SetPlayerPos(giveplayerid, -221.059051,1408.984008,27.773437);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Der Spieler ist nicht da!");
return 1;
}
}
return 1;
}LG Sunny
-
versuche derzeit das scrip von loh aber auf mein home server geht es aber auf den server den ich bekommen hab läuft es nicht?
-
Habe ein par gamemods versucht zb dorf-reallife by ronny aber immer kommt unknwo als game mode wäre euch echt dankbar
MFG sunny
-
wo da genau anpassen ich drücke auf /kaufen und nix passiert bitte um hilfe
-
Hallo ich würde gerne diesen befehl ausführen(hätte gerne /prison id wie lange grund
if(strcmp(cmd, "/prison",true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 3) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Benutze: /prison [SpielerID]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Sie haben %s in den Prison geschickt.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* Sie wurden von %s in den Prison geschickt.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); WantedPoints[giveplayerid] = 0; WantedLevel[giveplayerid] = 0; PlayerInfo[giveplayerid][pJailed] = 2; PlayerInfo[giveplayerid][pJailTime] = 300; SetPlayerPos(giveplayerid, 278.8624,1839.1500,7.8281); SetPlayerWorldBounds(giveplayerid, 286.9410,275.4805,1841.6931,1832.4999); } } else { SendClientMessage(playerid, COLOR_RED, "Dieser Spieler ist offline."); return 1; } } return 1; } }
Mein Problem ist ich würde gerne den grund hinzufügen habe es heute schon mehrmals versucht aber immer wieder nur erros bitte um hilfe
-
Gefällt mir echt gut ist sehr sauber gearbeitet