28.01.2016, 15:27
When I type in the command, it sets the wrong skin, I think it's an array problem
Код:
new FactionLeaderSkin[][3] = {264,265,113}; CMD:makeleader.. { .. PlayerInfo[id][pSkin] = strlen(FactionLeaderSkin[factionid]); // factionid: 0-Civilian 1-Police 2-Mafia SetPlayerSkin(id,strlen(FactionLeaderSkin[factionid])); .. }