13.01.2010, 21:52
How i can give a skin a name? And i want not all skins avaible but 5 skins or something.
Maybe u can use this:
Or this:
Yeah, I know. Im asking allot but i want have my flysim at the end of the week online. Its now 17% Good.
Maybe u can use this:
Код:
IsValidSkin(skinid) { #define MAX_BAD_SKINS 22 new badSkins[MAX_BAD_SKINS] = { }; if (skinid < 0 || skinid > 299) return false; for (new i = 0; i < MAX_BAD_SKINS; i++) { if (skinid == badSkins[i]) return false; } #undef MAX_BAD_SKINS return 1; }
Код:
public OnGameModeInit() { SetGameModeText("Netherlands AirSim"); UsePlayerPedAnims(); for(new i = 0; i < 299; i++) { if(IsValidSkin(i)) { AddPlayerClass(i,0.0,0.0,0.0,0.0,24,450,27,350,-1,-1); } } return 1; }