Death spawn team
#2

Mody logical way as I see it:

Define a one-dimensional constant array with the value of the skins, ranging from 0 to 2.
pawn Код:
const playerDeathSkins[] = { 230, 233, 299 };
Generate an integer between 0 to 2 and select the index from the array to return the skin ID.
pawn Код:
SetSpawnInfo(.., .., playerDeathSkins[Random(sizeof playerDeathSkins)], ..);
Reply


Messages In This Thread
Death spawn team - by Spawe - 07.11.2018, 02:57
Re: Death spawn team - by cSharp - 07.11.2018, 04:42
Re: Death spawn team - by Spawe - 07.11.2018, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)