stock Register(playerid,key[])
{
new Spielerdatei[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.ini",name);
dini_Create(Playerdatei);
dini_Set(Spielerdatei,"Passwort",key);
dini_Set(Spielerdatei,"Admin",0);
SetPlayerScore(playerid,0);
SetPVarInt(playerid,0);
return 1;
}
Wenn ich das so mache kommen 10 errors
PHP
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(300) : error 017: undefined symbol "Playerdatei"
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(302) : error 035: argument type mismatch (argument 3)
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(304) : error 035: argument type mismatch (argument 2)
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(311) : error 017: undefined symbol "GetPLayerName"
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(311) : warning 202: number of arguments does not match definition
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(319) : error 017: undefined symbol "SendClinetMessage"
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(327) : error 017: undefined symbol "GetPLayerName"
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(327) : warning 202: number of arguments does not match definition
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(330) : error 001: expected token: ",", but found "."
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(330) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(330) : warning 215: expression has no effect
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(330) : error 001: expected token: ";", but found ")"
C:\Users\Mike\Desktop\Pawno_Sachen\gamemodes\DeathScript.pwn(330) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Alles anzeigen