04.11.2013, 08:46
@EliteApple - actaully the way you've provided is in my opinion stupid because he'll need to put that into every command or function that needs to return the staff name or other string
For example i'd use this.
For example i'd use this.
pawn Код:
stock ReturnString(playerid)
{
new returnstr[100];
switch(PlayerInfo[playerid][pAdministrator])
{
case 0: { format(returnstr,sizeof(returnstr),"None"); }
// and case {num} ect
}
return returnstr;
}