Moin moin wollte ein Friedhofssystem erstellen habe aber noch im Script 2 Fehler
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(2246) : warning 235: public function lacks forward declaration (symbol "SetDeathSpawn")
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(2258) : warning 235: public function lacks forward declaration (symbol "PlayerDeathReset")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
public SetDeathSpawn(playerid)
{
if(PlayerDeathTime[playerid] == 1)
{
SetPlayerWorldBounds(playerid,805.3399,-1131.1670,952.7907,-1071.6967);
SetPlayerPos(playerid,815.7526,-1102.8108,25.7903);
SendClientMessage(playerid, 0xFFFFFFAA,"Herzlich Willkommen auf dem Friedhof");
SetPlayerSkin(playerid, 162);
SetTimerEx("SetPlayerSpawn",180000,0,"i",playerid);
SetTimerEx("PlayerDeathReset",170000,0,"i",playerid);
}
}
public PlayerDeathReset(playerid)
{
if(PlayerDeathTime[playerid] == 1)
{
PlayerDeathTime[playerid] = 0;
SetPlayerWorldBounds(playerid,805.3399,-1131.1670,952.7907,-1071.6967);
}
}
das rot markierte sind die Fehler
mfg. LiiKE