#include <a_samp>
#if defined FILTERSCRIPT
forward Afk()
forward kick()
public Afk(playerid)
{
SendClientMessage(playerid,0xFFFAF0,"Bitte tippen sie /afk ein um ihre Anwesenheit zu Bestätigen!");
SendClientMessage(playerid,0xFFFAF0,"Oder sie werden in 60 Sekunden automatisch gekickt");
SetTimer(kick, 60000);
return 1;
}
public kick(playerid)
{
Kick(playerid);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/afk", cmdtext, true, 10) == 0)
{
KillTimer(2);
}
return 1;
}
C:\Users\Simon Siggelkow\Desktop\Pawno\new.pwn(84) : warning 235: public function lacks forward declaration (symbol "afk")
C:\Users\Simon Siggelkow\Desktop\Pawno\new.pwn(88) : error 076: syntax error in the expression, or invalid function call
C:\Users\Simon Siggelkow\Desktop\Pawno\new.pwn(92) : warning 235: public function lacks forward declaration (symbol "kick")
C:\Users\Simon Siggelkow\Desktop\Pawno\new.pwn(114) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
error zeile:
SetTimer(kick, 60000);
bitte um hilfe