Anim problem with JETPACK
#4

Код:
CMD:jetpack(playerid, params[])
{
        if(IsPlayerAdmin(playerid))
	{
	new jetpack = GetPVarInt(playerid, "JetPack");
	if(jetpack == 0)
	{
 	SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
  	SendClientMessage(playerid, COLOR_RED, "You have spawned  jetpack.");
	}
	else
	{
	ClearAnimations(playerid);
  	SendClientMessage(playerid, COLOR_RED, "Your JetPack Is now Gone.");

	    SetPVarInt(playerid, "GodMode", 0);
	}
	}
	else
	{
	    SendClientMessage(playerid, -1, "You Are Not Authorized To Use This Command..");
	}
	return 1;
}
Reply


Messages In This Thread
Anim problem with JETPACK - by blanic - 12.06.2016, 18:55
Re: Anim problem with JETPACK - by FuNkYTheGreat - 12.06.2016, 19:06
Re: Anim problem with JETPACK - by blanic - 12.06.2016, 19:08
Re: Anim problem with JETPACK - by FuNkYTheGreat - 12.06.2016, 19:17
Re: Anim problem with JETPACK - by blanic - 12.06.2016, 19:19
Re: Anim problem with JETPACK - by FuNkYTheGreat - 12.06.2016, 19:22
Re: Anim problem with JETPACK - by AbyssMorgan - 12.06.2016, 19:23
Re: Anim problem with JETPACK - by Dayrion - 12.06.2016, 19:26
Re: Anim problem with JETPACK - by blanic - 12.06.2016, 20:05
Re: Anim problem with JETPACK - by blanic - 12.06.2016, 21:14

Forum Jump:


Users browsing this thread: 5 Guest(s)