[Ajuda] setar essas parada no player
#4

Код:
CMD:setar( playerid, params[] ) {
	new givenid;
	if( sscanf(params, "d", givenid) ) return SendClientMessage( playerid, 0xff0000aa, "Modo de uso correto: /setar ID_DO_JOGADOR" );
	
	SetPlayerTeam(givenid, -1);
	SetPlayerSkin(givenid, 165);
	SetPlayerHealth(givenid, 100);
	SetPlayerArmour(givenid, 0);
	SetPlayerColor(givenid, 0xFFFFFFFF);
	ResetPlayerWeapons(givenid);
	GivePlayerWeapon(givenid, 24, 500);
	GivePlayerWeapon(givenid, 25, 500);
	GivePlayerWeapon(givenid, 30, 500);
	GivePlayerWeapon(givenid, 34, 500);

	return SendClientMessage( playerid, 0x00ff00, "Informaзхes setadas com sucesso" );
}
Invйs de pedir cуdigos, que tal aprender? [ame]http://www.youtube.com/watch?v=Ngr4OiNaRnE[/ame]

Abraзos;
Reply


Messages In This Thread
setar essas parada no player - by Paulaosamp - 21.07.2013, 05:24
Re: setar essas parada no player - by Leopawno - 21.07.2013, 11:43
Re: setar essas parada no player - by Knight97 - 21.07.2013, 12:14
Re: setar essas parada no player - by godkrad - 21.07.2013, 12:15

Forum Jump:


Users browsing this thread: 3 Guest(s)