Es ging bisher ohne Probleme ohne mysql jetz aufeinmal nicht mehr hmm
Beiträge von DerFamer
-
-
[13:31:46]
[13:31:46] Ban list
[13:31:46] --------
[13:31:46] Loaded: samp.ban
[13:31:46]
[13:31:46]
[13:31:46] Filterscripts
[13:31:46] ---------------
[13:31:46] Loading filterscript 'Junkbuster.amx'...
[13:31:46] [junkbuster] Loading JunkBuster...
[13:31:46]
[13:31:46] [junkbuster] Current JunkBuster configuration:
[13:31:46] [junkbuster] - WeaponHack = 1
[13:31:46] [junkbuster] - MoneyHack = 1
[13:31:46] [junkbuster] - Jetpack = 1
[13:31:46] [junkbuster] - HealthHack = 1
[13:31:46] [junkbuster] - ArmourHack = 1
[13:31:46] [junkbuster] - DriveBy = 0
[13:31:46] [junkbuster] - Spam = 1
[13:31:46] [junkbuster] - CommandSpam = 1
[13:31:46] [junkbuster] - BadWords = 1
[13:31:46] [junkbuster] - CarJackHack = 1
[13:31:46] [junkbuster] - TeleportHack = 1
[13:31:46] [junkbuster] - MaxPing = 700
[13:31:46] [junkbuster] - SpectateHack = 1
[13:31:46] [junkbuster] - Blacklist = 1
[13:31:46] [junkbuster] - IpBans = 1
[13:31:46] [junkbuster] - TempBans = 1
[13:31:46] [junkbuster] - SpawnKill = 3
[13:31:46] [junkbuster] - CapsLock = 0
[13:31:46] [junkbuster] - 3DSpeed = 0
[13:31:46] [junkbuster] - MaxSpeed = 230
[13:31:46] [junkbuster] - AdminImmunity = 1
[13:31:46] [junkbuster] - Advertisement = 0
[13:31:46] [junkbuster] - FreezeUpdate = 0
[13:31:46] [junkbuster] - SpawnTime = 10
[13:31:46] [junkbuster] - CheckpointTeleport = 1
[13:31:46] [junkbuster] - Airbrake = 150
[13:31:46] [junkbuster] - TankMode = 0
[13:31:46] [junkbuster] - WarnPlayers = 1
[13:31:46] [junkbuster] - SingleplayerCheats = 1
[13:31:46] [junkbuster] - MinFPS = 3
[13:31:46] [junkbuster] - DisableBadWeapons = 1
[13:31:46] [junkbuster] - CBug = 0
[13:31:46] [junkbuster] - AntiBugKill = 1
[13:31:46] [junkbuster] - NoReload = 30
[13:31:46] [junkbuster] - NoReloadForSawnOff = 4
[13:31:46] [junkbuster] - ActiveGMC = 2
[13:31:46] [junkbuster] - GMCBan = 0
[13:31:46] [junkbuster] - ServerSideHealth = 1
[13:31:46] [junkbuster] - CheckVMPos = 0
[13:31:46] [junkbuster] - QuickTurn = 0
[13:31:46] [junkbuster] - VehicleTeleport = 1
[13:31:46] [junkbuster] - Wallride = 0
[13:31:46] [junkbuster] - DisplayTextDraw = 1
[13:31:46] [junkbuster] - AFK = 0
[13:31:46] [junkbuster] - PickupTeleport = 1
[13:31:46] [junkbuster] - FlyHack = 20
[13:31:46] [junkbuster] - JunkBusterChrome = 1
[13:31:46] [junkbuster] - CheckWalkAnims = 1
[13:31:46] [junkbuster] - ReportMoneyHack = 1
[13:31:46] [junkbuster] - SpeedhackAdvanced = 30
[13:31:46] [junkbuster] - Joypad = 2
[13:31:46] [junkbuster] - ArmedVehicles = 0
[13:31:46] [junkbuster] - VehicleRepair = 0
[13:31:46] [junkbuster] - TuningHack = 0
[13:31:46] [junkbuster] - PayForGuns = 1
[13:31:46] [junkbuster] - SpawnVehicles = 0
[13:31:46] [junkbuster] - MaxTotalWarnings = 15
[13:31:46] [junkbuster] - TooManyWarningsAction = 1
[13:31:46] [junkbuster] - AirbrakeDetection = 1
[13:31:46] [junkbuster] - SpeedhackDetection = 1
[13:31:46]
[13:31:46] [junkbuster] 0 IP-bans have been loaded.
[13:31:46] [junkbuster] 0 temporary bans have been loaded.
[13:31:46] [junkbuster] 0 whitelist entries have been loaded.
[13:31:46] [junkbuster] 5 blacklist entries have been loaded.
[13:31:46] [junkbuster] 45 bad words have been loaded.
[13:31:46] [junkbuster] 4 forbidden weapons have been loaded.
[13:31:46] [junkbuster] JunkBuster has been configurated.
[13:31:46] [junkbuster] JunkBuster (v11) has successfully been loaded.
[13:31:46] Loading filterscript 'DT_DynamicCar.amx'...
[13:31:46]
[13:31:46] -------- www.dark-trigardon.eu --------
[13:31:46] [FS]DT_DynamicCar by [DT]Sniper
[13:31:46] V.: 1.3.6
[13:31:46] ---------------------------------------
[13:31:47] Loaded 2 filterscripts.
[13:31:48] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
[13:31:48] <-| [MYSQL] Es wird erneut versucht eine Verbindung zur Datenbank herzustellen!
[13:31:50] <-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!
[13:31:50] <-| [MYSQL] Der Server wird nun beendet!
[13:31:50] '102' Fraktionsfahrzeuge wurden geladen & erstellt.
[13:31:50] Pickups Max = 2048, Current Pickups = 456
[13:31:50] _______________________________________
[13:31:50] Das Script wurde Vollständig geladen!
[13:31:50] German Reallife: LS/SF/LV
[13:31:50] _______________________________________
[13:31:50]
[13:31:50] Number of vehicle models: 45
[13:31:50] --- Server Shutting Down.
[13:31:50] [junkbuster] Resetting player classes.
[13:31:50]
*** Streamer Plugin v2.7.8 by Incognito unloaded ***
[13:31:50]
> MySQL plugin unloaded.
[13:31:50]
*** Audio Plugin v0.4 by Incognito unloaded *** -
localhost
-
MSVCR120.dll die kann er nicht lesen iwie da kommt beim starten die fehlermeldung
-
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[12:58:53]
[12:58:53] Server Plugins
[12:58:53] --------------
[12:58:53] Loading plugin: audio
[12:58:53]
*** Audio Plugin v0.4 by Incognito loaded ***[12:58:53] Loaded.
[12:58:53] Loading plugin: sscanf
[12:58:53]
[12:58:53] ===============================
[12:58:53] sscanf plugin loaded.
[12:58:53] (c) 2009 Alex "Y_Less" Cole
[12:58:53] 0.3d-R2 500 Players "dnee"
[12:58:53] ===============================
[12:58:53] Loaded.
[12:58:53] Loading plugin: streamer
[12:58:53]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[12:58:53] Loaded.
[12:58:53] Loading plugin: mysql
[12:58:55] Failed.
[12:58:55] Loading plugin: crashdetect
[12:58:55] crashdetect v4.8.5 is OK.
[12:58:55] Loaded.
[12:58:55] Loaded 4 plugins.
[12:58:55]
[12:58:55] Ban list
[12:58:55] --------
[12:58:55] Loaded: samp.ban
[12:58:55]
[12:58:55]
[12:58:55] Filterscripts
[12:58:55] ---------------
[12:58:55] Loading filterscript 'JunkBuster.amx'...
[12:58:55] [junkbuster] Loading JunkBuster...
[12:58:55]
[12:58:55] [junkbuster] Current JunkBuster configuration:
[12:58:55] [junkbuster] - WeaponHack = 1
[12:58:55] [junkbuster] - MoneyHack = 1
[12:58:55] [junkbuster] - Jetpack = 1
[12:58:56] [junkbuster] - HealthHack = 1
[12:58:56] [junkbuster] - ArmourHack = 1
[12:58:56] [junkbuster] - DriveBy = 0
[12:58:56] [junkbuster] - Spam = 1
[12:58:56] [junkbuster] - CommandSpam = 1
[12:58:56] [junkbuster] - BadWords = 1
[12:58:56] [junkbuster] - CarJackHack = 1
[12:58:56] [junkbuster] - TeleportHack = 1
[12:58:56] [junkbuster] - MaxPing = 700
[12:58:56] [junkbuster] - SpectateHack = 1
[12:58:56] [junkbuster] - Blacklist = 1
[12:58:56] [junkbuster] - IpBans = 1
[12:58:56] [junkbuster] - TempBans = 1
[12:58:56] [junkbuster] - SpawnKill = 3
[12:58:56] [junkbuster] - CapsLock = 0
[12:58:56] [junkbuster] - 3DSpeed = 0
[12:58:56] [junkbuster] - MaxSpeed = 230
[12:58:56] [junkbuster] - AdminImmunity = 1
[12:58:56] [junkbuster] - Advertisement = 0
[12:58:56] [junkbuster] - FreezeUpdate = 0
[12:58:56] [junkbuster] - SpawnTime = 10
[12:58:56] [junkbuster] - CheckpointTeleport = 1
[12:58:56] [junkbuster] - Airbrake = 150
[12:58:56] [junkbuster] - TankMode = 0
[12:58:56] [junkbuster] - WarnPlayers = 1
[12:58:56] [junkbuster] - SingleplayerCheats = 1
[12:58:56] [junkbuster] - MinFPS = 3
[12:58:56] [junkbuster] - DisableBadWeapons = 1
[12:58:56] [junkbuster] - CBug = 0
[12:58:56] [junkbuster] - AntiBugKill = 1
[12:58:56] [junkbuster] - NoReload = 30
[12:58:56] [junkbuster] - NoReloadForSawnOff = 4
[12:58:56] [junkbuster] - ActiveGMC = 2
[12:58:56] [junkbuster] - GMCBan = 0
[12:58:56] [junkbuster] - ServerSideHealth = 1
[12:58:56] [junkbuster] - CheckVMPos = 0
[12:58:56] [junkbuster] - QuickTurn = 0
[12:58:56] [junkbuster] - VehicleTeleport = 1
[12:58:56] [junkbuster] - Wallride = 0
[12:58:56] [junkbuster] - DisplayTextDraw = 1
[12:58:56] [junkbuster] - AFK = 0
[12:58:56] [junkbuster] - PickupTeleport = 1
[12:58:56] [junkbuster] - FlyHack = 20
[12:58:56] [junkbuster] - JunkBusterChrome = 1
[12:58:56] [junkbuster] - CheckWalkAnims = 1
[12:58:56] [junkbuster] - ReportMoneyHack = 1
[12:58:56] [junkbuster] - SpeedhackAdvanced = 30
[12:58:56] [junkbuster] - Joypad = 2
[12:58:56] [junkbuster] - ArmedVehicles = 0
[12:58:56] [junkbuster] - VehicleRepair = 0
[12:58:56] [junkbuster] - TuningHack = 0
[12:58:56] [junkbuster] - PayForGuns = 1
[12:58:56] [junkbuster] - SpawnVehicles = 0
[12:58:56] [junkbuster] - MaxTotalWarnings = 15
[12:58:56] [junkbuster] - TooManyWarningsAction = 1
[12:58:56] [junkbuster] - AirbrakeDetection = 1
[12:58:56] [junkbuster] - SpeedhackDetection = 1
[12:58:56]
[12:58:56] [junkbuster] 0 IP-bans have been loaded.
[12:58:56] [junkbuster] 0 temporary bans have been loaded.
[12:58:56] [junkbuster] 0 whitelist entries have been loaded.
[12:58:56] [junkbuster] 5 blacklist entries have been loaded.
[12:58:56] [junkbuster] 45 bad words have been loaded.
[12:58:56] [junkbuster] 4 forbidden weapons have been loaded.
[12:58:56] [junkbuster] JunkBuster has been configurated.
[12:58:56] [junkbuster] JunkBuster (v11) has successfully been loaded.
[12:58:56] Loaded 1 filterscripts.
[12:58:56] [debug] Run time error 19: "File or function is not found"
[12:58:56] [debug] mysql_query
[12:58:56] [debug] mysql_real_escape_string
[12:58:56] [debug] mysql_store_result
[12:58:56] [debug] mysql_num_rows
[12:58:56] [debug] mysql_free_result
[12:58:56] [debug] mysql_fetch_row_format
[12:58:56] [debug] mysql_fetch_int
[12:58:56] [debug] mysql_fetch_float
[12:58:56] [debug] mysql_connect
[12:58:56] [debug] mysql_ping
[12:58:56] Script[gamemodes/Nol.amx]: Run time error 19: "File or function is not found"
[12:58:56] Number of vehicle models: 0mehr zeigt der mir nicht an?
-
echo Executing Server Config...
hostname German-Black-Reallife
rcon 1
rcon_password Nicht Angegben!
lanmode 0
maxplayers 500
announce 1
query 1
weburl samp-server.de.ht
filterscripts JunkBuster
plugins audio sscanf streamer mysql
gamemode0 Nol
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300
stream_rate 1000
logtimeformat [%H:%M:%S] -
Beides mysql und Dini
-
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3d, (C)2005-2011 SA-MP Team
[11:21:56]
[11:21:56] Server Plugins
[11:21:56] --------------
[11:21:56] Loading plugin: audio
[11:21:56]
*** Audio Plugin v0.4 by Incognito loaded ***[11:21:56] Loaded.
[11:21:56] Loading plugin: sscanf
[11:21:56]
[11:21:56] ===============================
[11:21:56] sscanf plugin loaded.
[11:21:56] (c) 2009 Alex "Y_Less" Cole
[11:21:56] ===============================
[11:21:56] Loaded.
[11:21:56] Loading plugin: streamer
[11:21:56]
*** Streamer Plugin v2.7.8 by Incognito loaded ***
[11:21:56] Loaded.
[11:21:56] Loaded 3 plugins.
[11:21:56]
[11:21:56] Ban list
[11:21:56] --------
[11:21:56] Loaded: samp.ban
[11:21:56]
[11:21:56]
[11:21:56] Filterscripts
[11:21:56] ---------------
[11:21:56] Loading filterscript 'JunkBuster.amx'...
[11:21:56] [junkbuster] Loading JunkBuster...
[11:21:56]
[11:21:56] [junkbuster] Current JunkBuster configuration:
[11:21:56] [junkbuster] - WeaponHack = 1
[11:21:56] [junkbuster] - MoneyHack = 1
[11:21:56] [junkbuster] - Jetpack = 1
[11:21:56] [junkbuster] - HealthHack = 1
[11:21:56] [junkbuster] - ArmourHack = 1
[11:21:56] [junkbuster] - DriveBy = 0
[11:21:56] [junkbuster] - Spam = 1
[11:21:56] [junkbuster] - CommandSpam = 1
[11:21:56] [junkbuster] - BadWords = 1
[11:21:56] [junkbuster] - CarJackHack = 1
[11:21:56] [junkbuster] - TeleportHack = 1
[11:21:56] [junkbuster] - MaxPing = 700
[11:21:56] [junkbuster] - SpectateHack = 1
[11:21:56] [junkbuster] - Blacklist = 1
[11:21:56] [junkbuster] - IpBans = 1
[11:21:56] [junkbuster] - TempBans = 1
[11:21:56] [junkbuster] - SpawnKill = 3
[11:21:56] [junkbuster] - CapsLock = 0
[11:21:56] [junkbuster] - 3DSpeed = 0
[11:21:56] [junkbuster] - MaxSpeed = 230
[11:21:56] [junkbuster] - AdminImmunity = 1
[11:21:56] [junkbuster] - Advertisement = 0
[11:21:56] [junkbuster] - FreezeUpdate = 0
[11:21:56] [junkbuster] - SpawnTime = 10
[11:21:56] [junkbuster] - CheckpointTeleport = 1
[11:21:56] [junkbuster] - Airbrake = 150
[11:21:56] [junkbuster] - TankMode = 0
[11:21:56] [junkbuster] - WarnPlayers = 1
[11:21:56] [junkbuster] - SingleplayerCheats = 1
[11:21:56] [junkbuster] - MinFPS = 3
[11:21:56] [junkbuster] - DisableBadWeapons = 1
[11:21:56] [junkbuster] - CBug = 0
[11:21:56] [junkbuster] - AntiBugKill = 1
[11:21:56] [junkbuster] - NoReload = 30
[11:21:56] [junkbuster] - NoReloadForSawnOff = 4
[11:21:56] [junkbuster] - ActiveGMC = 2
[11:21:56] [junkbuster] - GMCBan = 0
[11:21:56] [junkbuster] - ServerSideHealth = 1
[11:21:56] [junkbuster] - CheckVMPos = 0
[11:21:56] [junkbuster] - QuickTurn = 0
[11:21:56] [junkbuster] - VehicleTeleport = 1
[11:21:56] [junkbuster] - Wallride = 0
[11:21:56] [junkbuster] - DisplayTextDraw = 1
[11:21:56] [junkbuster] - AFK = 0
[11:21:56] [junkbuster] - PickupTeleport = 1
[11:21:56] [junkbuster] - FlyHack = 20
[11:21:56] [junkbuster] - JunkBusterChrome = 1
[11:21:56] [junkbuster] - CheckWalkAnims = 1
[11:21:56] [junkbuster] - ReportMoneyHack = 1
[11:21:56] [junkbuster] - SpeedhackAdvanced = 30
[11:21:56] [junkbuster] - Joypad = 2
[11:21:56] [junkbuster] - ArmedVehicles = 0
[11:21:56] [junkbuster] - VehicleRepair = 0
[11:21:56] [junkbuster] - TuningHack = 0
[11:21:56] [junkbuster] - PayForGuns = 1
[11:21:56] [junkbuster] - SpawnVehicles = 0
[11:21:56] [junkbuster] - MaxTotalWarnings = 15
[11:21:56] [junkbuster] - TooManyWarningsAction = 1
[11:21:56] [junkbuster] - AirbrakeDetection = 1
[11:21:56] [junkbuster] - SpeedhackDetection = 1
[11:21:56]
[11:21:56] [junkbuster] 0 IP-bans have been loaded.
[11:21:56] [junkbuster] 0 temporary bans have been loaded.
[11:21:56] [junkbuster] 0 whitelist entries have been loaded.
[11:21:56] [junkbuster] 5 blacklist entries have been loaded.
[11:21:56] [junkbuster] 45 bad words have been loaded.
[11:21:56] [junkbuster] 4 forbidden weapons have been loaded.
[11:21:56] [junkbuster] JunkBuster has been configurated.
[11:21:56] [junkbuster] JunkBuster (v11) has successfully been loaded.
[11:21:56] Loaded 1 filterscripts.
[11:21:56] Script[gamemodes/Nol.amx]: Run time error 19: "File or function is not found"
[11:21:56] Number of vehicle models: 0 -
stock GetRangName(rang)
{
printf("GetRangName: Rang: %d", rang);
new rName[32];
switch(rang)
{
case 0: rName = "Chief of Police"; //Rang 11
case 1: rName = "Deputy Chief"; //Rang 10
case 2: rName = "Assistant Chief"; //Rang 9
case 3: rName = "FBI Director"; //Rang 11
case 4: rName = "Deputy Director"; //Rang 10
case 5: rName = "Chief of Staff"; //Rang 9
case 6: rName = "Direktor des Ordnungsamtes"; //Rang 11
case 7: rName = "stellv. Direktor"; //Rang 10
case 8: rName = "Assistents Direktor"; //Rang 9
case 9: rName = "Chef Arzt"; //Rang 11
case 10: rName = "stellv. Chefarzt"; //Rang 10
case 11: rName = "Oberarzt"; //Rang 9
case 12: rName = "Präsident"; //Rang 11
case 13: rName = "Vizepräsiden"; //Rang 10
case 14: rName = "Ober Staatsanwalt"; //Rang 9
default: rName = "Unbekannt";
}
return rName;
}So habe ich das jetzt eingebaut
-
stock GetRangName(rang)
{
printf("GetRangName: Rang: %d", rang);
new rName[32];
switch(rang)
{
case 0: rName = "Chief of Police";
case 1: rName = "Deputy Chief";
case 2: rName = "FBI Director";
case 3: rName = "Deputy Director";
case 4: rName = "Direktor des Ordnungsamtes";
case 5: rName = "stellv. Direktor";
case 6: rName = "Chef Arzt";
case 7: rName = "stellv. Chefarzt";
case 8: rName = "Präsident";
case 9: rName = "Vizepräsiden";
default: rName = "Unbekannt";
}
return rName;
}Es sollte nur Rang: 11,10,9 schreiben können darum if(PlayerInfo[playerid][pRank] < 9) return SendClientMessage(playerid, COLOR_GREY, "Du benötigst mindestens Rang 9.");
ist das eingebaut das der Jenige erst ab Rang 9 schreiben darf.
Fraktionen: 1,2,4,24 Gangs/Mafien brauchen das nicht
-
Fanaticx bist du nicht Wurftrank?
-
stock GetRangName(rang)
{
new rName[32];
switch(rang)
{
case 0: rName = "Chief of Police";
case 1: rName = "Deputy Chief";
case 2: rName = "FBI Director";
case 3: rName = "Deputy Director";
case 4: rName = "Direktor des Ordnungsamtes";
case 5: rName = "stellv. Direktor";
case 6: rName = "Chef Arzt";
case 7: rName = "stellv. Chefarzt";
case 8: rName = "Präsident";
case 9: rName = "Vizepräsiden";
default: rName = "Unbekannt";
}
return rName;
}Wird aber Unbekannt angezeigt :/?
-
Guten Tag,
Ich möchte den Befehl etwas kleiner machen und habe vor das anstatten das man den Staatsnachricht SAPD Sollte der Rang Name da stehn wie kann ich das machen?
if(strcmp(cmd, "/government", true) == 0 || strcmp(cmd, "/gov", true) == 0)
{
new sinmsg[2000];
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] != 2 && !IsACop(playerid) && !IsPlayerInFrac(playerid, 7) && !IsPlayerInFrac(playerid, 24) && !IsPlayerInFrac(playerid, 4))
{
SendClientMessage(playerid, COLOR_GREY, "Du bist nicht befugt.");
return 1;
}
if(PlayerInfo[playerid][pRank] < 9)
{
SendClientMessage(playerid, COLOR_GREY, "Du benötigst mindestens Rang 9.");
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) [Nachricht]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 7 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht Regierung %s: %s >>", sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht SAPD %s: %s >>", sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 4 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht LSMD %s: %s >>", sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 2 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht FBI %s: %s >>", sendername, result);
}
//else format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht %s: %s >>", sendername, result);
SendClientMessageToAll(COLOR_DBLUE, sinmsg);
}
return 1;
}//E:
%s [Rangname] %s[Spielername] %s[Sein Text]
//E:
if(strcmp(cmd, "/government", true) == 0 || strcmp(cmd, "/gov", true) == 0)
{
new sinmsg[2000];
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] != 2 && !IsACop(playerid) && !IsPlayerInFrac(playerid, 7) && !IsPlayerInFrac(playerid, 24) && !IsPlayerInFrac(playerid, 4))
{
SendClientMessage(playerid, COLOR_GREY, "Du bist nicht befugt.");
return 1;
}
if(PlayerInfo[playerid][pRank] < 9)
{
SendClientMessage(playerid, COLOR_GREY, "Du benötigst mindestens Rang 9.");
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) [Nachricht]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 7 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< %s %s: %s >>", pRank, sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< %s %s: %s >>", pRank, sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 4 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< %s %s: %s >>", pRank, sendername, result);
}
else if(PlayerInfo[playerid][pMember] == 2 && PlayerInfo[playerid][pRank] >= 9)
{
format(sinmsg, sizeof(sinmsg), "<< %s %s: %s >>", pRank, sendername, result);
}
//else format(sinmsg, sizeof(sinmsg), "<< Staatsnachricht %s: %s >>", sendername, result);
SendClientMessageToAll(COLOR_DBLUE, sinmsg);
}
return 1;
}So hätte ich das jetzt gemacht
-
Hat noch jemand den pastenbin bitte :).
-
Function OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInFrac(killerid,8))
{
if(PlayerInfo[playerid][pContract] >= 1)
{
new stringa[200];
GameTextForPlayer(killerid, "~r~Auftrag erledigt !", 4000, 4);
GivePlayerMoney(killerid,PlayerInfo[playerid][pContract]);
GameTextForPlayer(playerid, "~r~Auftrags-Kill !", 4000, 4);
format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",SpielerName(killerid),SpielerName(playerid),PlayerInfo[playerid][pContract]);
PlayerInfo[playerid][pContract] = 0;
SendFamilyMessage(8,COLOR_YELLOW,stringa);
}
}
if(GetPVarInt(playerid,"modcheck") == 1)
{
SetPlayerPos(playerid,-672.1529,962.2229,12.1328);
SpawnPlayer(playerid);
}
if(IsACop(killerid))
{
if(WantedLevel[playerid] >= 1)
{
GivePlayerMoney(playerid,-WantedLevel[playerid]*1000);
PlayerInfo[killerid][pGehalt] += WantedLevel[playerid]*500;
ResetPlayerWeapons(playerid);
new string[200];
if(PlayerInfo[killerid][pMember]==1||PlayerInfo[killerid][pLeader]==1)
{
format(string, sizeof(string), "< < < Officer %s hat den Verbrecher %s getötet > > >", SpielerName(killerid), SpielerName(playerid));
OOCNews(COLOR_RED, string);
}
else if(PlayerInfo[killerid][pMember]==2||PlayerInfo[killerid][pLeader]==2)
{
format(string, sizeof(string), "< < < Agent %s hat den Verbrecher %s getötet > > >", SpielerName(killerid), SpielerName(playerid));
OOCNews(COLOR_RED, string);
}
else if(PlayerInfo[killerid][pMember]==3||PlayerInfo[killerid][pLeader]==3)
{
format(string, sizeof(string), "< < < Soldat %s hat den Verbrecher %s getötet > > >", SpielerName(killerid), SpielerName(playerid));
OOCNews(COLOR_RED, string);
}
else if(PlayerInfo[killerid][pMember]==22||PlayerInfo[killerid][pLeader]==22)
{
format(string, sizeof(string), "< < < SWAT Agent %s hat den Verbrecher %s getötet > > >", SpielerName(killerid), SpielerName(playerid));
OOCNews(COLOR_RED, string);
}
if(LSPDZellen == 0)//zelle1
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,227.3844,111.5490,999);
LSPDZellen += 1;
}
if(LSPDZellen == 1)//zelle2
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,223.5090,111.4179,999);
LSPDZellen += 1;
}
if(LSPDZellen == 2)//zelle3
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,219.5361,111.3571,999);
LSPDZellen += 1;
}
if(LSPDZellen == 3)//Zelle4
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,215.5814,111.1412,999);
LSPDZellen += 1;
}
if(PlayerInfo[playerid][pMember] == 2)
{
if(LSPDZellen == 0)//zelle1
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,227.3844,111.5490,999);
LSPDZellen += 1;
}
if(LSPDZellen == 1)//zelle2
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,223.5090,111.4179,999);
LSPDZellen += 1;
}
if(LSPDZellen == 2)//zelle3
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,219.5361,111.3571,999);
LSPDZellen += 1;
}
if(LSPDZellen == 3)//Zelle4
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,215.5814,111.1412,999);
LSPDZellen += 1;
}
}
else
{
if(LSPDZellen == 0)//zelle1
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,264.8299,86.5835,1001.0391);
LSPDZellen += 1;
}
if(LSPDZellen == 1)//zelle2
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,264.4675,82.0742,1001.0391);
LSPDZellen += 1;
}
if(LSPDZellen == 2)//zelle3
{
SetPlayerInterior(playerid, 0);
UnFreezePlayer(playerid);
PlayerCuffed[playerid] = 0;
SetPlayerPos(playerid,265.2794,77.6027,1001.0391);
LSPDZellen += 1;
}
}
PlayerInfo[playerid][pJailTime] = WantedLevel[playerid] * 240;
new spr[100];
format(spr,sizeof(spr),"Du wurdest für %d Minuten und einer Geldstrafe von %d$ eingesperrt",WantedLevel[playerid] * 4,WantedLevel[playerid] * 1000);
SendClientMessage(playerid,COLOR_LIGHTBLUE,spr);
PlayerInfo[playerid][pJailed] = 1;
PlayerInfo[playerid][pArrested] += 1;
SetPlayerInterior(playerid, 6);
SetPlayerFree(playerid,playerid, "Verhaftet");
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
SetPlayerWantedLevel(playerid,0);
}
}
new name[MAX_PLAYER_NAME];
new string[256];
PlayerInfo[playerid][pInvWeapon] = 0;
PlayerInfo[playerid][pInvAmmo] = 0;
PlayerInfo[playerid][pInvWeapon2] = 0;
PlayerInfo[playerid][pInvAmmo2] = 0;
FrakMatsHolding[playerid] = 0;
/*new playercash;
new victimteam;
new killerteam;*/
if(PlayerInfo[playerid][pLevel] > 2 && KHSperre[playerid] == 0 && PlayerInfo[playerid][pJailed] == 0 && PlayerInfo[playerid][pGangJailed] == 0 && PlayerPaintballing[playerid] == 0)
{
PlayerInfo[playerid][pTot] = 1;
}
if (!IsACop(killerid) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Fahrerflucht");
}
if(gPlayerUsingLoopingAnim[playerid])
{
gPlayerUsingLoopingAnim[playerid] = 0;
TextDrawHideForPlayer(playerid,txtAnimHelper);
}
if(BlindFold[playerid] == 1)
{
BlindFold[playerid] = 0;
}
if(PlayerInfo[playerid][pMauled] == 1)
{
PlayerInfo[playerid][pMauled] = 0;
}
InCargo[playerid] = 0; InLevi[playerid] = 0; InEnfo[playerid] = 0;
if(FirstSpawn[playerid] == 1)
{
FirstSpawn[playerid] = 0;
}
if(IsBlacklist[playerid]==1)
{
ClearBlack(playerid);
IsBlacklist[playerid]=0;
}
if(GetPVarInt(playerid,"Flugp") == 1)
{
new car = GetPlayerVehicleID(playerid);
DestroyVehicle(car);
SendClientMessage(playerid,COLOR_RED,"Da du gestorben bist hast du die Prüfung nicht bestanden !");
SetPVarInt(playerid,"Flugp",0);
DisablePlayerRaceCheckpoint(playerid);
PlayerInfo[playerid][pFlyLic] = 0;
}
if(GetPVarInt(playerid,"Linie") == 1)
{
new car = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(car);
SendClientMessage(playerid,COLOR_RED,"Da du gestorben bist, ist dein Job nun beendet");
DisablePlayerCheckpoint(playerid);
DeletePVar(playerid,"Linie");
Linieende(playerid);
Delete3DTextLabel(linie1text[playerid]);
}
if(GetPVarInt(playerid,"Leerfahrts") == 1)
{
new car = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(car);
SendClientMessage(playerid,COLOR_RED,"Da du gestorben bist, ist dein Job nun beendet");
DisablePlayerCheckpoint(playerid);
Linieende(playerid);
DeletePVar(playerid,"Leerfahrts");
Delete3DTextLabel(linie1text[playerid]);
}
if(GetPVarInt(playerid,"MullStatus") == 1)
{
new car = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(car);
SendClientMessage(playerid,COLOR_RED,"Da du ausgestiegen bist, ist dein Job nun beendet");
DisablePlayerCheckpoint(playerid);
DeletePVar(playerid,"MullStatus");
}
if(GetPVarInt(playerid,"TaxiStatus") == 1)
{
Linieende(playerid);
}
if(GetPVarInt(playerid,"Motp") == 1)
{
new car = GetPlayerVehicleID(playerid);
PlayerInfo[playerid][pMotoLic] = 0;
DestroyVehicle(car);
SendClientMessage(playerid,COLOR_RED,"Da du gestorben bist hast du die Prüfung nicht bestanden !");
SetPVarInt(playerid,"Motp",0);
DisablePlayerRaceCheckpoint(playerid);
}
if(GetPVarInt(playerid,"FlugStatus") == 1)
{
new car = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(car);
SendClientMessage(playerid,COLOR_RED,"Da du gestorben bist hast den Flug automatisch abgebrochen !");
SetPVarInt(playerid,"FlugStatus",0);
DisablePlayerCheckpoint(playerid);
}
//=======================
//victimteam = gTeam[playerid];
//killerteam = gTeam[killerid];
gPlayerSpawned[playerid] = 0;
GetPlayerName(playerid, name, sizeof(name));
PlayerInfo[playerid][pLocal] = 255;
if(killerid != 255)
if(reason == 38)
{
new kstring[128];
new kickname[MAX_PLAYER_NAME];
if(IsPlayerConnected(killerid))
{
GetPlayerName(killerid, kickname, sizeof(kickname));
format(string, 256, "Warnung: [%d]%s hat einen Spieler mit einer Minigun gekillt. ACHTUNG [CheatVerdacht].",killerid,kickname);
ABroadCast(COLOR_YELLOW,string,1);
printf("%s", kstring);
}
}
if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11)
{
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
}
new caller = Mobile[playerid];
if(caller != 255)
{
if(caller < 255)
{
SendClientMessage(caller, COLOR_GRAD2, " Die Verbindung wurde unterbrochen....");
CellTime[caller] = 0;
CellTime[playerid] = 0;
Mobile[caller] = 255;
}
Mobile[playerid] = 255;
CellTime[playerid] = 0;
}
ClearCrime(playerid);
if(PlayerPaintballing[playerid] != 0)
{
PlayerPaintballKills[killerid] ++;
if(PlayerPaintballKills[killerid] > PaintballWinnerKills)
{
new killer[MAX_PLAYER_NAME];
PaintballWinner = killerid;
PaintballWinnerKills = PlayerPaintballKills[killerid];
GetPlayerName(killerid, killer, sizeof(killer));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerPaintballing[i] != 0)
{
format(string, sizeof(string), "* %s ist mit %d Kills in Führung.",killer,PaintballWinnerKills);
SendClientMessage(i, COLOR_WHITE, string);
}
}
}
}
return 1;
}
if(PlayerPaintballing[playerid] == 0 || PlayerPaintballing[killerid] == 0)
{
PlayerInfo[playerid][pTot] = 1;
new Float:pxX,Float:pyY,Float:pzZ;
GetPlayerPos(playerid, pxX, pyY, pzZ);
TotenKopf[playerid] = CreatePickup(1254,1, pX, pY, pZ);
PlayerInfo[playerid][pTx] = pxX;
PlayerInfo[playerid][pTy] = pyY;
PlayerInfo[playerid][pTz] = pzZ;
SendFamilyMessage(4,COLOR_BLUE,"Es ist eine Person gestorben ! (/tote)");
PlayerInfo[killerid][pKills] += 1;
PlayerInfo[playerid][pDeaths] += 1;
if(IsACop(killerid) || IsPlayerInFrac(killerid,4) || IsPlayerInFrac(killerid,9) || IsPlayerInFrac(killerid,24))
{}
else if(IsPlayerInFrac(killerid,8))
{
if(WantedLevel[killerid] >= 15)
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 1;
}
}
else
{
if(WantedLevel[killerid] >= 15)
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 2;
}
}
}
if(GettingCK[playerid] < 999 || OnCK[playerid] < 999)
{
if(IsPlayerConnected(killerid))
{
if(GettingCK[killerid] < 999 || OnCK[playerid] < 999)
{
new killer[MAX_PLAYER_NAME];
new dier[MAX_PLAYER_NAME];
GetPlayerName(playerid, dier, sizeof(dier));
GetPlayerName(killerid, killer, sizeof(killer));
format(string, sizeof(string), "* %s hat deinen Charakter gesperrt, du kannst nun mit diesem Charakter nicht mehr Spielen.",killer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "** %s hat den Spieler %s erledigt**",killer,dier);
CKLog(string);
PlayerInfo[playerid][pCK] = 1;
if(GettingCK[playerid] < 999)
{
GettingCK[playerid] = 999;
}
else if(OnCK[playerid] < 999)
{
OnCK[playerid] = 999;
}
if(GettingCK[killerid] < 999)
{
GettingCK[killerid] = 999;
}
else if(OnCK[killerid] < 999)
{
OnCK[killerid] = 999;
}
KickPlayer[playerid] = 1;
}
}
}
killerid = INVALID_PLAYER_ID;
SetPlayerColor(playerid,COLOR_GRAD2);
return 1;
}
/*if(PlayerPaintballing[playerid] == 0 || PlayerPaintballing[killerid] == 0)//Hier der Ursacher
{
PlayerInfo[playerid][pTot] = 1;
new Float:pxX,Float:pyY,Float:pzZ;
GetPlayerPos(playerid, pxX, pyY, pzZ); //Hier 5427
TotenKopf[playerid] = CreatePickup(1254,1, pX, pY, pZ);
PlayerInfo[playerid][pTx] = pxX;
PlayerInfo[playerid][pTy] = pyY;
PlayerInfo[playerid][pTz] = pzZ;
SendFamilyMessage(4,COLOR_BLUE,"Es ist eine Person gestorben ! (/tote)");
PlayerInfo[killerid][pKills] += 1; //Hier 5433
PlayerInfo[playerid][pDeaths] += 1;
if(IsACop(killerid) || IsPlayerInFrac(killerid,4) || IsPlayerInFrac(killerid,9) || IsPlayerInFrac(killerid,24)) //Hier 5435
{} //Hier 5438
else if(IsPlayerInFrac(killerid,8)) //Hier 5439
{
if(WantedLevel[killerid] >= 15) //Hier 5441
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 1;
}
}
else
{
if(WantedLevel[killerid] >= 15)
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 2;
}
}
}
if(GettingCK[playerid] < 999 || OnCK[playerid] < 999)
{
if(IsPlayerConnected(killerid))
{
if(GettingCK[killerid] < 999 || OnCK[playerid] < 999)
{
new killer[MAX_PLAYER_NAME];
new dier[MAX_PLAYER_NAME];
GetPlayerName(playerid, dier, sizeof(dier));
GetPlayerName(killerid, killer, sizeof(killer));
format(string, sizeof(string), "* %s hat deinen Charakter gesperrt, du kannst nun mit diesem Charakter nicht mehr Spielen.",killer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "** %s hat den Spieler %s erledigt**",killer,dier);
CKLog(string);
PlayerInfo[playerid][pCK] = 1;
if(GettingCK[playerid] < 999) { GettingCK[playerid] = 999; }
else if(OnCK[playerid] < 999) { OnCK[playerid] = 999; }
if(GettingCK[killerid] < 999) { GettingCK[killerid] = 999; }
else if(OnCK[killerid] < 999) { OnCK[killerid] = 999; }
KickPlayer[playerid] = 1;
}
}
}
killerid = INVALID_PLAYER_ID;
SetPlayerColor(playerid,COLOR_GRAD2);
return 1;
}*///E:
Habe es rausgenommen hat sich erledigt!
-
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5042) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5042) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5042) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5327) : warning 219: local variable "killer" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5348) : warning 219: local variable "pxX" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5348) : warning 219: local variable "pyY" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5348) : warning 219: local variable "pzZ" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5354) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5354) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5354) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5390) : warning 219: local variable "killer" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5391) : warning 219: local variable "dier" shadows a variable at a preceding level
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5397) : error 035: argument type mismatch (argument 1)
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5423) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5427) : error 021: symbol already defined: "GetPlayerPos"
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5433) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5435) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5438) : error 054: unmatched closing brace ("}")
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5439) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5441) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5445) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5450) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5452) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5456) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5462) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5464) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5466) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5470) : error 021: symbol already defined: "GetPlayerName"
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5476) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5477) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5478) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5479) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5480) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5487) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5883) : error 025: function heading differs from prototype
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(5883) : error 025: function heading differs from prototype
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(10605) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(10605) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(10605) : warning 202: number of arguments does not match definition
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(16089) : error 025: function heading differs from prototype
C:\Windows\Vss\First Person\German Reallife\German Reallife\gamemodes\Nol.pwn(16089) : error 025: function heading differs from prototypeCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
/*if(PlayerPaintballing[playerid] == 0 || PlayerPaintballing[killerid] == 0)//Hier 5423
{
PlayerInfo[playerid][pTot] = 1;
new Float:pxX,Float:pyY,Float:pzZ;
GetPlayerPos(playerid, pxX, pyY, pzZ); //Hier 5427
TotenKopf[playerid] = CreatePickup(1254,1, pX, pY, pZ);
PlayerInfo[playerid][pTx] = pxX;
PlayerInfo[playerid][pTy] = pyY;
PlayerInfo[playerid][pTz] = pzZ;
SendFamilyMessage(4,COLOR_BLUE,"Es ist eine Person gestorben ! (/tote)");
PlayerInfo[killerid][pKills] += 1; //Hier 5433
PlayerInfo[playerid][pDeaths] += 1;
if(IsACop(killerid) || IsPlayerInFrac(killerid,4) || IsPlayerInFrac(killerid,9) || IsPlayerInFrac(killerid,24)) //Hier 5435
{} //Hier 5438
else if(IsPlayerInFrac(killerid,8)) //Hier 5439
{
if(WantedLevel[killerid] >= 15) //Hier 5441
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 1;
}
}
else
{
if(WantedLevel[killerid] >= 15)
{
WantedLevel[killerid] = 14;
}
else
{
WantedLevel[killerid] += 2;
}
}
}
if(GettingCK[playerid] < 999 || OnCK[playerid] < 999)
{
if(IsPlayerConnected(killerid))
{
if(GettingCK[killerid] < 999 || OnCK[playerid] < 999)
{
new killer[MAX_PLAYER_NAME];
new dier[MAX_PLAYER_NAME];
GetPlayerName(playerid, dier, sizeof(dier));
GetPlayerName(killerid, killer, sizeof(killer));
format(string, sizeof(string), "* %s hat deinen Charakter gesperrt, du kannst nun mit diesem Charakter nicht mehr Spielen.",killer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "** %s hat den Spieler %s erledigt**",killer,dier);
CKLog(string);
PlayerInfo[playerid][pCK] = 1;
if(GettingCK[playerid] < 999) { GettingCK[playerid] = 999; }
else if(OnCK[playerid] < 999) { OnCK[playerid] = 999; }
if(GettingCK[killerid] < 999) { GettingCK[killerid] = 999; }
else if(OnCK[killerid] < 999) { OnCK[killerid] = 999; }
KickPlayer[playerid] = 1;
}
}
}
killerid = INVALID_PLAYER_ID;
SetPlayerColor(playerid,COLOR_GRAD2);
return 1;
}*/Der Ganze COde verursacht die ganzen warnings klammere ich den aus kommt:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase -
Ich Spiele nicht mehr habe mir wie ihr letztens offen gehabt hattet habe ich mir Premium gekauft und habe es nie bekommen außer die Respecktpunkte Geld und das ganze und den Rang habe ich nie erhalten.
Nach 1-2 Tagen ging der Server down. -
if(strcmp(cmd, "/uclight",true) == 0)
{
if(IsPlayerInFrac(payerid,1) || IsPlayerInFrac(payerid,2))
{
if(UCL[GetPlayerVehicleID(playerid)] == 0)
{
new tmpcar = GetPlayerVehicleID(playerid);
if(GetVehicleModel(tmpcar) == 560)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 415)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,-0.2,0.65,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 451)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.45,-0.3,0.6,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 541)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.45,-0.1,0.65,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 470)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.6,0.2,1.1,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 421)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0.2,0.72,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 405)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0,0.78,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 426)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0,0.88,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 517)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.6,0,0.85,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 598)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 597)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 596)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 411)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.44,0.3,0.7,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(tmpcar) == 561)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.4,0.1,0.85,0,0,0);//Dach Beifahrer
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0.1,0.85,0,0,0);//Dach Fahrer
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
}
else if(UCL[GetPlayerVehicleID(playerid)] == 1)
{
DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene1[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene2[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene3[GetPlayerVehicleID(playerid)]);
UCL[GetPlayerVehicleID(playerid)] = 0;
return 1;
}
}Stimmt das so wie ich das mit den Klammern gemacht habe ?!
-
Hallo,
Wen der Admin /aduty macht bekommt er die 100 HP und ich hab ein Timer gesetzt wen der Admin Lebenverliert das es sich sofort wider auffüllen soll was hab ich Falsch gemacht das funktioniert nicht?
if (strcmp(cmd, "/adminduty", true) == 0 || strcmp(cmd, "/aduty", true) == 0)
{
if(AdminDuty[playerid] == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Moderator im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Mod[playerid] = Create3DTextLabel("*Moderator im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Mod[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Moderator angemeldet",sendername);
SendClientMessageToAll(COLOR_GOLD, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 2)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Admin");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Mod[playerid] = Create3DTextLabel("*Administrator im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Mod[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Admin angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 3)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Admin im Dienst.");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Supermod[playerid] = Create3DTextLabel("*Administrator im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Supermod[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Admin angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] ==4)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Head Admin im Dienst.");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Admin[playerid] = Create3DTextLabel("*Administrator im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Supporter angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] ==5)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Administrator im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Admin[playerid] = Create3DTextLabel("*Administrator im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Admin angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] ==6)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Head Admin im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Admin[playerid] = Create3DTextLabel("*Head Admin im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Head Admin angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] ==7)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Projektleiter im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Admin[playerid] = Create3DTextLabel("*Projektleiter im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Projektleiter angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] >=8)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Projektleiter im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Admin[playerid] = Create3DTextLabel("*Projektleiter im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Projektleiter angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Supporter im Dienst!");
SetPlayerColor(playerid,0xFF0000FF);
AdminDuty[playerid] = 1;
Supporter[playerid] = Create3DTextLabel("*Supporter im Dienst*",COLOR_GOLD,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Supporter[playerid], playerid, 0.0, 0.0, 0.4);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"%s hat sich als Supporter angemeldet",sendername);
SendClientMessageToAll(0xFF0000FF, string);
SetPlayerHealth(playerid, 100);
SetTimer("unsterblich", 1500, 1);
return 1;
}
}
if(AdminDuty[playerid] == 1)
{
if(PlayerInfo[playerid][pAdmin] == 1)
{
format(string,sizeof(string),"Moderator %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
if(PlayerInfo[playerid][pAdmin] == 2)
{
format(string,sizeof(string),"Moderator %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] == 3)
{
format(string,sizeof(string),"Administrator %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] >=4)
{
format(string,sizeof(string),"Administrator %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] >=5)
{
format(string,sizeof(string),"Head Admin %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] >=6)
{
format(string,sizeof(string),"Head Admin %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] >=7)
{
format(string,sizeof(string),"Projektleiter %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pAdmin] >=8)
{
format(string,sizeof(string),"Projektleiter %s] ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
format(string,sizeof(string),"Supporter %s ist nun nicht mehr im Dienst. *",sendername);
SendClientMessageToAll(0xFF0000FF, string);
}SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun nicht mehr im Dienst!");
Delete3DTextLabel(Admin[playerid]);
Delete3DTextLabel(Supermod[playerid]);
Delete3DTextLabel(Mod[playerid]);
Delete3DTextLabel(Supporter[playerid]);
Delete3DTextLabel(Admin[playerid]);
Delete3DTextLabel(Supermod[playerid]);
Delete3DTextLabel(Mod[playerid]);
Delete3DTextLabel(Supporter[playerid]);
SetPlayerArmour(playerid, 0);
AdminDuty[playerid] = 0;
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerToTeamColor(playerid);
}
else
{
SetPlayerToTeamColor(playerid);
SetPlayerColor(playerid,TEAM_HIT_COLOR);
}
}
return 1;
}
return 1;
}forward unsterblich(playerid);
public unsterblich (playerid) {
if(un[playerid]==1) {
SetPlayerHealth(playerid, 9999); }
return 1;
} -
Öhm, ich möchte dir kein Geschäft oder so etwas Zerstören.
Aber verstehe es nicht ganz. Mir sagst du, du hast deinen PC eingeschickt somit kannst du nicht am PC, Mhm.. Ok, kein Problem kann ja Passieren.Aber jetzt suchst du einen Scripter und Scriptest selber wie in anderen Beiträgen zu sehen ist.
Wenn du nicht mit uns Zusammen Arbeiten möchtest, ist es doch gar kein Problem, finde es nur Schade das du erst so Redest und dann so.Hier mal ein Bild: http://www.pic-upload.de/view-28169957/Unbenannt.png.html
Nun ja, Wünsche dir dennoch Viel Glück bei der Suche.
MfG. Black_Air
Kann ich auch nicht. Somit ist es auch nicht mein Server. Zudem suche ich für den jenigegen ein das er vorran kommt. Zudem mit PC klar funktioniert das nicht ganz aber ich bin der Meinung hat hier nichts zu suchen oder?