Warnings:
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(145) : error 017: undefined symbol "LoopingAnim"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(146) : error 017: undefined symbol "ID"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(148) : error 029: invalid expression, assumed zero
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(148) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(148) : error 001: expected token: ",", but found ";"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(151) : error 021: symbol already defined: "spawn"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(152) : error 021: symbol already defined: "spawn"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(154) : error 010: invalid function or declaration
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(163) : error 010: invalid function or declaration
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(1126) : warning 203: symbol is never used: "DA"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(1126) : warning 203: symbol is never used: "DX"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(1126) : warning 203: symbol is never used: "DY"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(1126) : warning 203: symbol is never used: "DZ"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(1126) : warning 203: symbol is never used: "Dead"
C:\Users\kevin\Desktop\server\gamemodes\tutorial.pwn(58) : warning 204: symbol is assigned a value that is never used: "klingeln"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Zeilen:
public OnPlayerDeath(playerid, killerid, reason)
{
LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
TogglePlayerControllable(ID,0);
SendClientMessage(killerid,ROT,"Du hast ein Verbrechen begangen:Mord.");
SetTimer(spawn,120000,0,);
return 1;
}
forward spawn(playerid);
public spawn(playerid)
{
if(Dead[playerid] == 1)
{
Dead[playerid] = 0;
TogglePlayerControllable(playerid,1);
ClearAnimations(playerid);
SpawnPlayer(playerid);
SetPlayerHealth(playerid,50);
SetCameraBehindPlayer(playerid);
}
return 1;
}
new Dead[MAX_PLAYERS], Float:DX[MAX_PLAYERS], Float:DY[MAX_PLAYERS],Float:DZ[MAX_PLAYERS],Float:DA[MAX_PLAYERS],spawn[MAX_PLAYERS];//1026
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link