C:\Users\cause\Desktop\SwissMadeReallife.pwn(243) : warning 217: loose indentation
C:\Users\cause\Desktop\SwissMadeReallife.pwn(243) : error 036: empty statement
C:\Users\cause\Desktop\SwissMadeReallife.pwn(255) : error 017: undefined symbol "register"
C:\Users\cause\Desktop\SwissMadeReallife.pwn(261) : warning 217: loose indentation
C:\Users\cause\Desktop\SwissMadeReallife.pwn(261) : error 029: invalid expression, assumed zero
C:\Users\cause\Desktop\SwissMadeReallife.pwn(261) : error 004: function "OnPlayerClickPlayer" is not implemented
C:\Users\cause\Desktop\SwissMadeReallife.pwn(266) : warning 225: unreachable code
C:\Users\cause\Desktop\SwissMadeReallife.pwn(266) : error 029: invalid expression, assumed zero
C:\Users\cause\Desktop\SwissMadeReallife.pwn(266) : error 017: undefined symbol "Register"
C:\Users\cause\Desktop\SwissMadeReallife.pwn(273) : warning 225: unreachable code
C:\Users\cause\Desktop\SwissMadeReallife.pwn(277) : error 001: expected token: ")", but found ","
C:\Users\cause\Desktop\SwissMadeReallife.pwn(279) : error 017: undefined symbol "key"
C:\Users\cause\Desktop\SwissMadeReallife.pwn(283) : error 030: compound statement not closed at the end of file (started at line 235)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
if(dialogid==DIALOG_REGISTER)
{
if(response==0)
{
SendClientMessage(playerid,0x0000FFFF,"Du hast den Vorgang abgebrochen.");
Kick(playerid);
return 1;
}
if(response==1);
{
if(!strlen(inputtext))
{
register(playerid,inputtext);
return 1;
}
}
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
stock Register(playerid,key[])
{
return 1;
}
{
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,0x0000FFFF,"Erfolgreich registriert, Viel Spass auf unserem Server!");
return 1;
}
bin ein ziemlicher anfänger - wäre froh um hilfe!
danke!
Cause