need help
#1

how would i turn that so only players in hunters ,barracks , and patriot can type /startconvoy
Код:
if (strcmp("/startconvoy", cmdtext, true, 10) == 0)
	{
		new playername[MAX_PLAYER_NAME], msg[128];
		GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
		format(msg, sizeof(msg), "%s wants to start a convoy type /joinconvoy if you want to join them ", playername);
		SendClientMessageToAll(COLOR_YELLOW,msg);
		return 1;
	}
if (strcmp("/joinvconvoy", cmdtext, true, 10) == 0)
    SendClientMessage(playerid,COLOR_YELLOW,"you have joined the convoy. Go to Sf carrier to join %s. "
	return 0;
}
Reply


Messages In This Thread
need help - by soldierman - 23.08.2009, 10:48
Re: need help - by ronyx69 - 23.08.2009, 11:02
Re: need help - by soldierman - 23.08.2009, 11:04
Re: need help - by ronyx69 - 23.08.2009, 11:09
Re: need help - by soldierman - 23.08.2009, 11:30
Re: need help - by Frankylez - 23.08.2009, 11:35
Re: need help - by ronyx69 - 23.08.2009, 11:36
Re: need help - by [HUN]Gamestar - 23.08.2009, 11:36
Re: need help - by Frankylez - 23.08.2009, 11:40
Re: need help - by FUNExtreme - 23.08.2009, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)