[ZCMD]Helping With Putting level in - 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)
+--- Thread: [ZCMD]Helping With Putting level in (
/showthread.php?tid=475839)
[ZCMD]Helping With Putting level in -
donhu789 - 15.11.2013
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
Re: [ZCMD]Helping With Putting level in -
teomakedonija - 15.11.2013
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;
}
Re: [ZCMD]Helping With Putting level in -
donhu789 - 15.11.2013
I want To REmove The PlayerInfo[playerid][Level] >= 1) please help
Re: [ZCMD]Helping With Putting level in -
SAMProductions - 15.11.2013
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;
}
Re: [ZCMD]Helping With Putting level in -
donhu789 - 15.11.2013
ty SAMProductions Again You Are THe Best Of THe Best Scripter Was helping All The Time