Team commands and more
#8

Put this in OnPlayerCommandText
Quote:

dcmd(copshelp, 2, cmdtext);

and put this after
Quote:

dcmd_copshelp(playeri, params[])
{
#pragma unused params
if(gTeam == TEAM_COPS)
{
GivePlayerWeapon(playerid, 30);
}
else
{
GameTextForPlayer(playerid, "~w~You're not allowed to use this command", 1500, 6);
}
return 1;
}

Reply


Messages In This Thread
Team commands and more - by Markx - 03.03.2011, 15:40
Re: Team commands and more - by Markx - 03.03.2011, 18:52
Re: Team commands and more - by Ironboy - 03.03.2011, 19:08
Re: Team commands and more - by k3nw00d_kri5ty - 03.03.2011, 19:18
Re: Team commands and more - by Markx - 04.03.2011, 11:00
Re: Team commands and more - by Ironboy - 04.03.2011, 11:24
Re: Team commands and more - by Markx - 04.03.2011, 13:23
Re : Team commands and more - by Soumi - 04.03.2011, 16:02

Forum Jump:


Users browsing this thread: 2 Guest(s)