Setplayerskin Question
#6

Heres what you need to do
pawn Код:
new rand = random(6)//change it to the number of skins you want
switch(rand)
{
    case 0: SetPlayerSkin(playerid, 265);
    case 1: SetPlayerSkin(playerid, 266);
    case 2: SetPlayerSkin(playerid, 267);
    case 3: SetPlayerSkin(playerid, 280);
    case 4: SetPlayerSkin(playerid, 281);
    case 5: SetPlayerSkin(playerid, 282);
}
What this does is create a variable and generates a pseudo-random number out of it.
If the number is 0 skin 265 is applied and so on..
Reply


Messages In This Thread
Setplayerskin Question - by jakejohnsonusa - 27.10.2012, 00:13
Re: Setplayerskin Question - by Catalyst- - 27.10.2012, 00:19
Re: Setplayerskin Question - by jakejohnsonusa - 27.10.2012, 00:56
Re: Setplayerskin Question - by jakejohnsonusa - 27.10.2012, 01:10
Re: Setplayerskin Question - by jakejohnsonusa - 27.10.2012, 10:58
Re: Setplayerskin Question - by [HK]Ryder[AN] - 27.10.2012, 11:18
Re: Setplayerskin Question - by YoYo123 - 27.10.2012, 11:21
Re: Setplayerskin Question - by jakejohnsonusa - 27.10.2012, 11:36
Re: Setplayerskin Question - by _Khaled_ - 27.10.2012, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)