30.10.2016, 14:56
Can i make an array of skin ID's so if a player press left/right td it will chang accordingly to the next or previous skin?
Example i have some skins. Do i implement them like that?
Or there is another? Way?
Also..
How can i implement this?
Example i have some skins. Do i implement them like that?
PHP код:
new CivilianSkins[7] = {1, 5, 10 ,22, 33, 66, 108};
Also..
PHP код:
if( clickedid == TDLEFT)
{
//How i can make it so skin changes to previous if he presses left?
}
else if(clickedid == TDRIGHT)
{
//Same but in pressing right
}