SA-MP Forums Archive
[Ajuda] Skin aleatуrio - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Skin aleatуrio (/showthread.php?tid=370328)



Skin aleatуrio - Since` - 19.08.2012

Como colocar um skin aleatуrio a cada vez que o npc recomeзar a executar a gravaзгo?


Re: Skin aleatуrio - humildadeforever - 19.08.2012

pawn Код:
new skinrand = random(299);
SetPlayerSkin(playerid, skinrand);



Re: Skin aleatуrio - DartakousLien - 19.08.2012

Quote:
Originally Posted by humildadeforever
Посмотреть сообщение
pawn Код:
new skinrand = random(299);
SetPlayerSkin(playerid, skinrand);
nem precisa colocar
pawn Код:
new skinrand = random(299);
basta so isso
pawn Код:
SetPlayerSkin(playerid,random(299));