SA-MP Forums Archive
Donator Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Donator Problem (/showthread.php?tid=252820)



Donator Problem - SpiderWalk - 03.05.2011

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?!


Re: Donator Problem - Georgelopez1 - 03.05.2011

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;
    }