Random spawn?Help
#2

Try this:
pawn Код:
#define MAX_RANDOM_SKINS 10
new s_randon_skins[MAX_RANDOM_SKINS] = {23, 112, 36, 110, 206};
pawn Код:
public OnPlayerSpawn(playerid) {
    SetPlayerSkin(playerid, s_randon_skins[random(MAX_RANDOM_SKINS)]);
    return 1;
}
Reply


Messages In This Thread
Random spawn?Help - by ServerScripter - 12.07.2011, 09:14
Re: Random spawn?Help - by Toreno - 12.07.2011, 09:19
Re: Random spawn?Help - by [MG]Dimi - 12.07.2011, 09:21
Re : Random spawn?Help - by ServerScripter - 12.07.2011, 09:22
Re: Re : Random spawn?Help - by Toreno - 12.07.2011, 09:24
Re: Re : Random spawn?Help - by [MG]Dimi - 12.07.2011, 09:26
Re : Re: Random spawn?Help - by ServerScripter - 12.07.2011, 09:26
Re: Re : Re: Random spawn?Help - by Toreno - 12.07.2011, 09:32
Re : Random spawn?Help - by ServerScripter - 12.07.2011, 09:32
Re : Re: Re : Re: Random spawn?Help - by ServerScripter - 12.07.2011, 09:34

Forum Jump:


Users browsing this thread: 3 Guest(s)