05.10.2013, 18:24
Hi! What is wrong with this command? It says unknown command! Please help me! Sorry for my bad english!
Код:
CMD:stat(playerid,params[]) { if(animban[playerid]) return ShowInfoForPlayer(playerid,"Nem tudod elovenni!",3000); new adatok1[128],adatok2[128],adatok3[128],adatok4[128],adatok5[128],adatok6[128],stringadatok[1024]; new adatok7[128], adatok8[128],adatok9[128],adatok10[128],adatok11[128],adatok12[128]; new hny[64], gny[64]; if(h_Data[playerhaza(playerid)][zarva] == 0) { hny = "NYITVA"; } else { hny = "ZARVA"; } if(G_Data[playergarazsa(playerid)][zarva] == 0) { gny = "NYITVA"; } else { gny = "NYITVA"; } //===================================Megformбzzuk a szцvegeket======================= format(adatok1,sizeof(adatok1)," |"CWHITE" Neved:"CBLUE" %s ",GetPlayerNameEx(playerid)); format(adatok2,sizeof(adatok2)," |"CWHITE" Admin szint:"CBLUE" %d ",PVar[playerid][pLevel]); format(adatok3,sizeof(adatok3)," |"CWHITE" Munkahely:"CBLUE" %s |"CWHITE" Rang:"CBLUE" %d ( %s )",frakcioneve(PVar[playerid][Frakcio]),PVar[playerid][Rang],rangneve(playerid)); format(adatok4,sizeof(adatok4)," |"CWHITE" Bankszбmla:"CBLUE" %d ",PVar[playerid][pBank]); format(adatok5,sizeof(adatok5)," |"CWHITE" Kulcs1:"CBLUE" %d |"CWHITE" Kulcs2:"CBLUE" %d ",PVar[playerid][pKulcs1],PVar[playerid][pKulcs2]); format(adatok6,sizeof(adatok6)," |"CWHITE" Tartozбs:"CBLUE" %d",PVar[playerid][pTartozas]); format(adatok7,sizeof(adatok7)," |"CWHITE" Warn szint:"CBLUE" %d",warnok[playerid]); format(adatok8,sizeof(adatok8)," |"CWHITE" Skin:"CBLUE" %d",PVar[playerid][pSkin]); format(adatok9,sizeof(adatok9)," |"CWHITE" Admin:"CBLUE" %d",PVar[playerid][pLevel]); format(adatok10,sizeof(adatok10)," |"CWHITE" Hбzszбm:"CBLUE" %d "CRED" %s",playerhaza(playerid),hny); format(adatok11,sizeof(adatok11)," |"CWHITE" Mбsodбllбs:"CBLUE" %s",munkaneve(PVar[playerid][pMunka])); format(adatok12,sizeof(adatok12)," |"CWHITE" Garбzs:"CBLUE" %d "CRED" %s",playergarazsa(playerid),gny); format(stringadatok,sizeof(stringadatok),"%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s",adatok1,adatok3,adatok4,adatok5,adatok6,adatok7,adatok8,adatok9,adatok10,adatok11,adatok12); DialogList(playerid,INFORMACIO,"Adataid",stringadatok,"Rendben",""); Cselekves(playerid,"megnйzi a telefonjбt",0); SetPlayerSpecialAction(playerid,11); SetPlayerAttachedObject(playerid,7,18874,6,0.032999,0.055999,-0.025999,-66.900001,-1.499969,-94.200126,1.000000,1.000000,1.000000); return 1; }