Szerző Téma: /stats hiba... "Nincs ilyen parancs!"  (Megtekintve 432 alkalommal)

dexi

  • Vendég
/stats hiba... "Nincs ilyen parancs!"
« Dátum: 2011. November 13. - 15:03:19 »
0 Show voters
[pawn]//------------------------------STATS-------------------------//
if(strcmp(cmd, \"/stats\", true) == 0)
   {
      new string[128];
    new planame[MAX_PLAYER_NAME];
    new pontok;
pontok = GetPlayerScore(playerid);
      GetPlayerName(playerid, planame, sizeof(planame));
      format(string, sizeof(string), \"Név: %s Pontok: %d Csapat: \", planame, pontok);
       SendClientMessage(playerid, BLUE, \"---------------------------------------\");
   SendClientMessage(playerid,YELLOW,string);
    SendClientMessage(playerid, BLUE, \"---------------------------------------\");
   return 1;
   }
//------------------------------STATS-------------------------//[/pawn]
Nem ír ki rá hibát, de viszont amikor beírom kiírja hogy Nincs ilyen parancs!( Beleírtam hogy ha nincs olyan parancs akkor íraj ezt ki... )
Mit rontottam el benne?
EDIT: Semmit nem rontottam el benne.. a modomban van valami problem(gondolom a return részével). beraktam egy FS-be és tökéletesen megy.
___________________________________
« Utoljára szerkesztve: 2011. November 13. - 15:41:25 írta dexi »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal