string bug
#1

pawn Код:
CMD:s(playerid,params[])
{
      if(zInfo[playerid][adminlvl]==0) return 0;
      new kokieadmin [512], tekstas[900], Zinute[256];
      if(zInfo[playerid][adminlvl] == 1) kokieadmin = "Administratorius {FFFF00}I{00FF00} lygio";
      if(zInfo[playerid][adminlvl] == 2) kokieadmin = "Administratorius {FFFF00}II{00FF00} lygio";
      if(zInfo[playerid][adminlvl] == 3) kokieadmin = "Administratorius {FFFF00}III{00FF00} lygio";
      if(zInfo[playerid][adminlvl] == 4) kokieadmin = "Savininkas";
      if(zInfo[playerid][adminlvl] == 5) kokieadmin = "Scripteris";
      if(zInfo[playerid][emigrator]) kokieadmin = "{FFFF00}Emigracijų{00FF00} priћiūrėtojas";
      if(zInfo[playerid][adminator]) kokieadmin = "{FFFF00}Administratorių{00FF00} priћiūrėtojas";
      if(zInfo[playerid][vipator]) kokieadmin = "{FFFF00}Vipų{00FF00} priћiūrėtojas";
      if(zInfo[playerid][prezidentas]) kokieadmin = "{FFFF00}Direktorių{00FF00} priћiūrėtojas";
      if(sscanf(params, "s",tekstas)) return SendClientMessage(playerid, BLUE, "* Raљyti praneљima ћaidėjams: /s [Tekstas]");
      new vardas[MAX_PLAYER_NAME];
      GetPlayerName(playerid,vardas,MAX_PLAYER_NAME);
      format(kokieadmin,sizeof(kokieadmin),"{00FF00}%s {FFFF00}%s {00FF00}praneљa:",kokieadmin,vardas);
      format(Zinute,sizeof(Zinute),"{009966}%s",tekstas);
      SendClientMessageToAll( -1, kokieadmin );
      SendClientMessageToAll( -1, Zinute );
      return 1;
}
why Zinute is showing me only like 30 symbols?
Reply


Messages In This Thread
string bug - by ancezas - 27.01.2014, 18:03
Re: string bug - by Vanter - 27.01.2014, 18:35
Re: string bug - by ancezas - 28.01.2014, 15:43
Re: string bug - by Konstantinos - 28.01.2014, 15:53
Re: string bug - by ikey07 - 28.01.2014, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)