Jo wie in der überschrift klappt mien else nciht und ich hab das adminlevel auslesen lassen bei jedem ist es 5 also ich bin alleine und mache /score 9 steht
Aber warum hier code
ocmd:score(playerid,params[])
{
new pName[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME+10],pID;
if(IsPlayerConnected(pID))
{
if(sscanf(params,"u",pID))return SendClientMessage(playerid,Orange,"Benutzung: /score <playerid>");
GetPlayerName(pID,pName,MAX_PLAYER_NAME);
format(string,sizeof(string),"Name: %s",pName);
SendClientMessage(playerid,Orange,string);
format(string,sizeof(string),"Geld: %d",GetPlayerMoney(pID));
SendClientMessage(playerid,Orange,string);
format(string,sizeof(string),"Level: %d",GetPlayerScore(pID));
SendClientMessage(playerid,Orange,string);
format(string,sizeof(string),"Admin: %d",GetPVarInt(pID, "Adminlevel"));
SendClientMessage(playerid,Orange,string);
}
else
{
SCM(playerid,Rot,"Player not Connected");
return 1;
}
return 1;
}