explode player
#5

Quote:
Originally Posted by [AC
Etch ]
idk what u trying to do but if u want that if player is engineer and he type this command , he explode , here is it :
Код:
if(strcmp(cmdtext, "/placemine", true) == 0)
{
	if( gPlayerClass[playerid] == ENGINEER )
	{
	SetPlayerHealth(giveplayerid, 10);
	new Float:burnx, Float:burny, Float:burnz; GetPlayerPos(playerid,burnx, burny, burnz); CreateExplosion(burnx, burny , burnz, 7,10.0);
}
  return 1;
	}
and from where u get ''giveplayerid'' ? lol in this case u will get error
Reply


Messages In This Thread
explode player - by 02manchestera - 12.03.2010, 22:19
Re: explode player - by Conroy - 12.03.2010, 22:30
Re: explode player - by 02manchestera - 12.03.2010, 22:38
Re: explode player - by aircombat - 12.03.2010, 22:45
Re: explode player - by Lajko1 - 13.03.2010, 05:31
Re: explode player - by Jakku - 13.03.2010, 06:02

Forum Jump:


Users browsing this thread: 2 Guest(s)