Random Skin
#1

Hey. Who can Help me?
I want when player register in my server, they get random skin.
Sorry, my english poor
Reply
#2

Hello, i think i got the solution.

First add:

pawn Код:
new RandomSkin[9] = {
0,
67,
114,
56,
87,
285,
86,
34,
75,
};
at the top of your script.

Then add:

pawn Код:
new randomskin = random(sizeof(randomskin));
SetPlayerSkin(playerid,RandomSkin[randomskin]);
under "OnPlayerSpawn".

Hope this help's you.
Reply
#3

Thank You
Reply
#4

Quote:
Originally Posted by x-file
Посмотреть сообщение
Thank You
No problem
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)