Skins REP +
#5

In OnGameModeInit

Код:
    for(new i = -1; i < 300; i++) if(IsSkinValid(i)) AddPlayerClass(i,1860.4724,-2261.4534,13.5469,0,0,0,0,0,0,0);
In OnPlayerRequestClass
Код:
	format(string128,sizeof(string128),"~w~ID: %i",pskin[playerid]);
	GameTextForPlayer(playerid,string128,2000,3);
IsSkinValid function:

Код:
stock IsSkinValid(skinid)
{

	if (skinid < 0 || skinid > 299 || skinid==74) return false;
    else return true;
}
Reply


Messages In This Thread
Skins REP + - by Dare Devil..... - 07.09.2012, 18:24
Re: Skins REP + - by Windrush - 07.09.2012, 18:29
Re: Skins REP + - by Dare Devil..... - 07.09.2012, 18:42
Re: Skins REP + - by Sasoft - 07.09.2012, 18:48
Re: Skins REP + - by kaisersouse - 07.09.2012, 18:51
Re: Skins REP + - by Dare Devil..... - 07.09.2012, 19:03
Re: Skins REP + - by kaisersouse - 07.09.2012, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)