Hallo ich habe 1 Error undzwar
C:\Users\Erkan's GamerPC\Desktop\SAMP\gamemodes\Stunt.pwn(391) : error 029: invalid expression, assumed zero
C:\Users\Erkan's GamerPC\Desktop\SAMP\gamemodes\Stunt.pwn(1985) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Erkan's GamerPC\Desktop\SAMP\gamemodes\Stunt.pwn(2379) : warning 217: loose indentation
C:\Users\Erkan's GamerPC\Desktop\SAMP\gamemodes\Stunt.pwn(4317) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Die Zeile 391:
forward LoginCheck();
Zeile 1985:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
new string[126], pname[MAX_PLAYER_NAME], oname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
GetPlayerName(recieverid, oname, sizeof(oname));
format(string, sizeof(string), "Private Nachricht von %s zu %s: %s", pname, oname, text);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (AccountInfo[i][AdminLevel] >= 1 || IsPlayerAdmin(i))
{
SendClientMessage(i, 0xFFFF00FF, string);
}
else
{
}
}
if (PMBlock[recieverid] == true) return SendClientMessage(playerid, RED, "Dieser Admin hat private Nachrichten deaktiviert!"), 0;
return 1;
}
Zeile 4317;
public OnPlayerInfoChange(playerid)
{
return 1;
Danke im Vorraus