Random Skins + Timer
#9

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
That's because you're setting the player skin to the random number, which is between 1 and 4 in this case. You want to use the random number to extract a value from the array, so simply replace your SetPlayerSkin with this:

pawn Код:
SetPlayerSkin(playerid, randomskins[randa]);
Aha.. Im learning
Thanks man
Reply


Messages In This Thread
Random Skins + Timer - by Ritchie999 - 16.10.2010, 23:02
Re: Random Skins + Timer - by JaTochNietDan - 16.10.2010, 23:07
Re: Random Skins + Timer - by GaGlets(R) - 16.10.2010, 23:08
Re: Random Skins + Timer - by Ritchie999 - 16.10.2010, 23:24
Re: Random Skins + Timer - by JaTochNietDan - 16.10.2010, 23:28
Re: Random Skins + Timer - by mmrk - 16.10.2010, 23:29
Re: Random Skins + Timer - by Ritchie999 - 16.10.2010, 23:33
Re: Random Skins + Timer - by JaTochNietDan - 16.10.2010, 23:41
Re: Random Skins + Timer - by Ritchie999 - 16.10.2010, 23:44

Forum Jump:


Users browsing this thread: 4 Guest(s)