[ZCMD]The Command Doesnt Define THe Vip - 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]The Command Doesnt Define THe Vip (
/showthread.php?tid=473885)
[ZCMD]The Command Doesnt Define THe Vip -
donhu789 - 05.11.2013
pawn Код:
CMD:fly(playerid)
{
if(PlayerInfo[playerid][dRank] >= 1) return SendClientMessage(playerid, red, "You must be Vip 1 to use this Command.");
StartFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Started Vips Fly Mode");
return 1;
}
CMD:stopfly(playerid)
{
if(PlayerInfo[playerid][dRank] >= 1) return SendClientMessage(playerid, red, "You must be Vip 1 to use this Command.");
StopFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Stopped Vips Fly Mode");
return 1;
}
Guys can you help i set my vip level to 0 but is still able to use can anyone fix this god dam thing
Please guys help REP REP REP
-
Re: [ZCMD]The Command Doesnt Define THe Vip -
iGetty - 05.11.2013
pawn Код:
CMD:fly(playerid)
{
if(PlayerInfo[playerid][dRank] == 0) return SendClientMessage(playerid, red, "You must be Vip 1 to use this Command.");
StartFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Started Vips Fly Mode");
return 1;
}
CMD:stopfly(playerid)
{
if(PlayerInfo[playerid][dRank] == 0) return SendClientMessage(playerid, red, "You must be Vip 1 to use this Command.");
StopFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Stopped Vips Fly Mode");
return 1;
}
Re: [ZCMD]The Command Doesnt Define THe Vip -
donhu789 - 05.11.2013
PHP код:
CMD:stopfly(playerid,params[])
{
#pragma unused params
if(PlayerInfo[playerid][dRank] >= 1)
{
StopFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Stopped Vips Fly Mode");
} else return SendClientMessage(playerid,red, "ERROR: You must be an VIP level 1 to use this command");
return 1;
}
CMD:fly(playerid,params[])
{
#pragma unused params
if(PlayerInfo[playerid][dRank] >= 1)
{
StartFly(playerid);
SendClientMessage(playerid, red, "VIPs CMD: You Have Started Vips Fly Mode");
} else return SendClientMessage(playerid,red, "ERROR: You must be an VIP level 1 to use this command");
return 1;
}
ok thanks but i find my correct code
Re: [ZCMD]The Command Doesnt Define THe Vip -
Ninad - 05.11.2013
Or just remove this line!
Код:
if(PlayerInfo[playerid][dRank] == 0) return SendClientMessage(playerid, red, "You must be Vip 1 to use this Command.");
Код:
CMD:stopfly(playerid,params[])
{
#pragma unused params
StopFly(playerid);
SendClientMessage(playerid, red, " CMD: You Have Stopped Fly Mode");
return 1;
}
CMD:fly(playerid,params[])
{
#pragma unused params
StartFly(playerid);
SendClientMessage(playerid, red, " CMD: You Have Started Fly Mode");
return 1;
}
Re: [ZCMD]The Command Doesnt Define THe Vip -
donhu789 - 05.11.2013
Serious Ninad you did all wrong xD i already fix my code -__