Problem with TOGPM command
#4

Код:
CMD:togpm(playerid, params[])
{
        if(PlayerInfo[playerid][VIP] == 1)
        {
		if(PlayerInfo[playerid][NoPM] == 0)
        	{
            		PlayerInfo[playerid][NoPM] = 1;
            		SendClientMessage(playerid, COLOR_GREEN, "[SERVER]You are no longer accepting private messages");
		} else {
            		PlayerInfo[playerid][NoPM] = 0;
            		SendClientMessage(playerid, COLOR_GREEN, "[SERVER]You are now accepting private messages");
        	}
	} else {
		SendClientMessage(playerid, COLOR_GREEN, "You aren't VIP!");
	}
        return 1;
}
Reply


Messages In This Thread
Problem with TOGPM command - by FL3GM4 - 25.12.2012, 11:32
Re: Problem with TOGPM command - by Typhome - 25.12.2012, 11:36
Re: Problem with TOGPM command - by FL3GM4 - 25.12.2012, 11:47
Re: Problem with TOGPM command - by Typhome - 25.12.2012, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)