[Help]Me!
#2

Here:

Код:
if(strcmp("/smoke", cmd, true) == 0)
	{
		new Playername[MAX_PLAYER_NAME];
  	GetPlayerName(playerid, Playername, 24);
		SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
		GivePlayerMoney(playerid, -2);
  	format(actiontext,MAX_CHATBUBBLE_LENGTH,"*%s takes out a cigarette and lights it*",Playername);
  	SetPlayerChatBubble(playerid,actiontext,ACTION_COLOR,15.0,10000);
  	SendClientMessage(playerid,ACTION_COLOR,actiontext);
	}
	return 1;
Reply


Messages In This Thread
[Help]Me! - by Thrarod - 08.04.2010, 16:37
Re: [Help]Me! - by Iuri - 08.04.2010, 16:39
Re: [Help]Me! - by Thrarod - 08.04.2010, 16:44
Re: [Help]Me! - by Iuri - 08.04.2010, 16:45
Re: [Help]Me! - by Thrarod - 08.04.2010, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)