23.08.2009, 10:48
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;
}

