Guten Abend Liebe Com,
ich habe leider 4 Errors in mein Script
stock Regiser(playerid,key[])
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
dini_Create(Spielerdatei);
dini_Set(Spielerdatei,"Passwort",key);
SendClientMessage(playerid,GRÜN,"Erfolgreich Registriert.");
SetPlayerScore(playerid,1);
dini_IntSet(Spielerdatei,"Premium",0);
SetPVarInt(playerid,"loggedin",1);
dini_IntSet(Spielerdatei,"Fraktion",0);
dini_IntSet(Spielerdatei,"Rang",0);
dini_IntSet(Spielerdatei,"Leader",0);
new string[256];
if(Checkpoint[playerid] == 1)
{
SendClientMessage(playerid,ROT, "Muell aufgeladen, weiter!");
SendClientMessage(playerid, GRÜN, string);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -89.2432,-1189.7782,2.3241, 5.0);
Checkpoint[playerid] = 2;
}
return 1;
}
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(1025) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(1025) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(1025) : error 001: expected token: ";", but found "]"
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(1025) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(1025) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.