15.10.2014, 18:22
So, i want to use mselecton for skin's
What i have to do? to make the skinlist mselection?
I really hope you understand me
Код:
COMMAND:oriided(playerid, params[]) { new skinid; if(PlayerLoggedIn[playerid] == true) { if(!sscanf(params, "i", skinid)) { if(skinid >= 1 && skinid <= 299) { if(IsPlayerInRangeOfPoint(playerid,3.0,207.8758,-100.6210,1005.2578)) { if(100 < KasutajaInfo[playerid][Raha]) { SendClientMessage(playerid, COLOR_GREY, "Sa ostsid uued riided endale.Maksumus 100 SAKi!"); SetPlayerSkin(playerid, skinid); GiveIGMoney(playerid, -100); } else SendClientMessage(playerid, COLOR_WHITE, " Sul ei ole piisavalt raha(100 SAK'i)"); } else SendClientMessage(playerid, COLOR_WHITE, " Sa ei ole riidepoes"); } else SendClientMessage(playerid, COLOR_WHITE, " Skin ei saa olla alla 1 ja suurem kui 299"); } else SendClientMessage(playerid, COLOR_WHITE, "KASUTUS: /oriided [Skinid]"); } else SendClientMessage(playerid, COLOR_WHITE, "VIGA: Sa ei ole veel sisse loginud"); return 1; }
I really hope you understand me