04.09.2010, 14:50
I have a gamemode with 3-4k line wich i use this at onplayerspawn
SetPlayerSkin(playerid, Skins[random(sizeof(Skins))]);
and this at the top
new Skins[] = { 15,7,21,28,50,60,72,79,95,98,100,101,102,103,104,1 05,108,109,110,111,116,117,118,122,124,128,133,176 ,177,221,247,248,258,259,262,250 };
I have also one PlayerClass at ongamemodeint
AddPlayerClass(0, 0,0,0, 0, 0, 0, 0, 0, 0, 0);
When i start the gamemode everything fine and anyone gets a random skin ect.. but after 20 minute or less that gammemode is running anyone who spawn get CJ skin (skin id 0)
Can anyone tell me why this happens and how to fix?
thankssss
SetPlayerSkin(playerid, Skins[random(sizeof(Skins))]);
and this at the top
new Skins[] = { 15,7,21,28,50,60,72,79,95,98,100,101,102,103,104,1 05,108,109,110,111,116,117,118,122,124,128,133,176 ,177,221,247,248,258,259,262,250 };
I have also one PlayerClass at ongamemodeint
AddPlayerClass(0, 0,0,0, 0, 0, 0, 0, 0, 0, 0);
When i start the gamemode everything fine and anyone gets a random skin ect.. but after 20 minute or less that gammemode is running anyone who spawn get CJ skin (skin id 0)
Can anyone tell me why this happens and how to fix?
thankssss