/togpm for VIP's problem
#1

i want to make..
if is player VIP can block PMs, if isn't cant block PMs xD but i have little problems...

Код:
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod.pwn(1526) : error 017: undefined symbol "NoPM"
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod.pwn(1531) : error 017: undefined symbol "NoPM"
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod.pwn(2880) : warning 217: loose indentation
Код:
CMD:togpm(playerid, params[])
{
        if(PlayerInfo[playerid][VIP] == 1)
        {
            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");
        }
        return 1;
}
Reply


Messages In This Thread
/togpm for VIP's problem - by FL3GM4 - 24.12.2012, 19:13
Re: /togpm for VIP's problem - by Typhome - 24.12.2012, 19:15
Re: /togpm for VIP's problem - by FL3GM4 - 24.12.2012, 19:21
Re: /togpm for VIP's problem - by Typhome - 24.12.2012, 19:23
Re: /togpm for VIP's problem - by FL3GM4 - 24.12.2012, 20:08
Re: /togpm for VIP's problem - by FL3GM4 - 24.12.2012, 20:24

Forum Jump:


Users browsing this thread: 2 Guest(s)