Jo, hab da folgenden Error, bei der Zeile mit "SetPVarInt(playerid,"Password",password);
Was mache ich falsch?
Code:
ocmd:changepass(playerid,params[]){ new password[35],string[128]; if(sscanf(params,"s",password)) return SendClientMessage(playerid,GRAU,"{FFFFFF}» {FF000F}Syntax: {FFFFFF}/Changepass {969696}[Neues Passwort]"); format(string,sizeof(string),"[PASSWORT] Dein neues Passwort lautet nun '%s'.",password); SendClientMessage(playerid,ROT,string); SetPVarInt(playerid,"Password",password); SaveAccount(playerid); return 1;}
Hier der Errorcode:
C:\Users\58\Desktop\server\gamemodes\DMR.pwn(730) : error 035: argument type mismatch (argument 3)C:\Users\58\Desktop\server\gamemodes\DMR.pwn(1765) : warning 225: unreachable codeC:\Users\58\Desktop\server\gamemodes\DMR.pwn(1765) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
MfG