[Help - Easy] Making a command available ONLY when & during a timer is active
#3

Код:
CMD:rip(playerid,params[])
{
	new PlayerName[MAX_PLAYER_NAME], str[128];
	GetPlayerRPName(playerid, PlayerName, sizeof(PlayerName));
	if(PlayerInfo[playerid][pRIP]==0)
	    {
	        PlayerInfo[playerid][pRIP]=1;
	        format(str, 128, "[BS] {} Player %s has expressed their condolences for the banned player", );
	        SendClientMessageToAll(COLOR_DARKCORAL, str);
		}
	else
  	{
  		SendClientMessage(playerid, COLOR_DARKCORAL, "[BS] {AFAFAF}You can use this command once for a period of 1 minute after a player gets banned!");
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)