wo is hier der warn
PHP
C:\Users\Blume\Desktop\spiele (nicht löschen)\samp server\server\gamemodes\DM.pwn(28) : warning 235: public function lacks forward declaration (symbol "C")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
#include <a_samp>
#define rot 0xCD0000FF
forward c(playerid);
main()
{
}
public OnPlayerConnect(playerid)
{
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string)," %s versucht den Server zu betreten",name);
SendClientMessage(playerid,rot,"Verbinde mit German Deathmatch");
print(string);
SetTimer("c",15000,false);
}
public OnPlayerDisconnect(playerid)
{
}
public C(playerid)
{
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s hat den Server erfolgreich Betreten",name);
print(string);
}