dcmd_level(playerid,params[]) {
if(!strlen(params)) {
return SendClientMessage(playerid,0xFF0000FF,"USAGE: /level [PlayerID] [Level]");
}
new pname[MAX_PLAYERS],accFormat[128];
GetPlayerName(playerid,pname,sizeof pname);
format(accFormat,sizeof accFormat,"/Chars/%s.datei",pname);
new Zahl;
Spieler[playerid][Level] = Zahl;
return 1;
}
Er verändert aber nicht das Level