[ZCMD]Helping With Putting level in
#1

pawn Код:
CMD:hjump(playerid, params[])
{
    if(JUMPs[playerid] == 0)
    {
        SendClientMessage(playerid, green, "You Have Enabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 1;
    }
    else if(JUMPs[playerid] == 1)
    {
        SendClientMessage(playerid, green, "You Have Disabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 0;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
    }
    return 1;
}
Guys how i can put my own level in here ?

PHP код:
if(PlayerInfo[playerid][Trusted] >= 1) {
if(
PlayerInfo[playerid][Level] >= 1
Guys can you guys help i dont know how to put it in
Reply
#2

pawn Код:
CMD:hjump(playerid, params[])
{
    if(PlayerInfo[playerid][Trusted] >= 1 || PlayerInfo[playerid][Level] >= 1)
    {
    if(JUMPs[playerid] == 0)
    {
        SendClientMessage(playerid, green, "You Have Enabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 1;
    }
    else if(JUMPs[playerid] == 1)
    {
        SendClientMessage(playerid, green, "You Have Disabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 0;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
    }
}
    return 1;
}
Reply
#3

I want To REmove The PlayerInfo[playerid][Level] >= 1) please help
Reply
#4

Try This :-
pawn Код:
CMD:hjump(playerid, params[])
{
    if(PlayerInfo[playerid][Trusted] >= 1)
    {
    if(JUMPs[playerid] == 0)
    {
        SendClientMessage(playerid, green, "You Have Enabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 1;
    }
    else if(JUMPs[playerid] == 1)
    {
        SendClientMessage(playerid, green, "You Have Disabled Player Hight Jumping.");
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        JUMPs[playerid] = 0;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
    }
}
    return 1;
}
Reply
#5

ty SAMProductions Again You Are THe Best Of THe Best Scripter Was helping All The Time
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)