Donator Problem
#1

When i make command this
pawn Код:
if(strcmp("/jet", cmdtext, true, 10) == 0)
    {
        if(IsPlayerVipMember(playerid))
        if(IsPlayerVipType(playerid,1))
        return SendClientMessage(playerid, 0xFFFFF, "{F81414}ERROR: You are not donator to use this command!");
        SetPlayerSpecialAction(playerid,2);
        return 1;
    }
And i make new account to test it.And jet pack spawn.Also i using Lux Admin system.I dont know how to fix this just for donators?!
Reply
#2

try
pawn Код:
if(strcmp("/jet", cmdtext, true, 10) == 0)
    {
        if(IsPlayerVipMember(playerid))
        if(IsPlayerVipType(playerid,1))
        SetPlayerSpecialAction(playerid,2);
        else return SendClientMessage(playerid, 0xFFFFF, "{F81414}ERROR: You are not donator to use this command!");
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)