Habe hier folgendes Problem mit einem AutoText:
Was ist hier nur Falsch?
Errors/Warnings:
error 025: function heading differs from prototype
warning 209: function "ATextNeu" should return a value
Code:
forward ATextNeu();
SetTimer("ATextNeu", 300000, 1);
public ATextNeu(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLevel] > 2)
{
SendClientMessage(playerid,COLOR_YELLOW,"....");
SendClientMessage(playerid,COLOR_YELLOW,"....");
SendClientMessage(playerid,COLOR_YELLOW,"....");
SendClientMessage(playerid,COLOR_YELLOW,"....");
return 1;
}
}
}