Setting up commands for admins
#1

Hey!


Код:
if (strcmp("/Fire", cmdtext, true, 10) == 0)
	{
	gTeam[playerid] = TEAM_FIRE;
	SetPlayerSkin(playerid, 135);
	SetPlayerColor(playerid, 0xFFFFFFAA);
	SendClientMessage(playerid,0xAA0000AA,"You got fired!");
	return 1;
	}
So, what I want to make for that is this:

Make so its available to admins to do /Fire (ID/Playername)
Then the player what gets that gets effected with those lines (SetPlayerSkin, SetPlayerColor, gTeam...)

So how to make that?

Regards,
Assyria
Reply


Messages In This Thread
Setting up commands for admins - by Assyria - 28.03.2010, 18:41
Re: Setting up commands for admins - by [HiC]TheKiller - 28.03.2010, 18:44
Re: Setting up commands for admins - by aircombat - 28.03.2010, 18:55
Re: Setting up commands for admins - by ¤Adas¤ - 28.03.2010, 19:11
Re: Setting up commands for admins - by Joe_ - 28.03.2010, 19:21
Re: Setting up commands for admins - by aircombat - 28.03.2010, 19:27
Re: Setting up commands for admins - by RyDeR` - 28.03.2010, 20:41
Re: Setting up commands for admins - by [NL]Bank - 28.03.2010, 20:45
Re: Setting up commands for admins - by Joe_ - 28.03.2010, 21:31
Re: Setting up commands for admins - by sammypiv - 29.03.2010, 01:39

Forum Jump:


Users browsing this thread: 1 Guest(s)