[HELP]NOPCheck Error. - 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: [HELP]NOPCheck Error. (
/showthread.php?tid=385735)
[HELP]NOPCheck Error. -
RenovanZ - 17.10.2012
Removed
Re : [HELP]NOPCheck Error. -
yusei - 17.10.2012
download the last V dini
or add this
#define NOPCheck = = gotta define this function since it's not a native function
Re: [HELP]NOPCheck Error. -
gtakillerIV - 17.10.2012
And what will "#define NOPCheck" do?? You are just defining it without its proper value.
Re: [HELP]NOPCheck Error. -
RenovanZ - 17.10.2012
Removed
Re: [HELP]NOPCheck Error. -
CmZxC - 17.10.2012
Well well well, isn't it just another annoying leak script user? [ ngrp ]
This, obviously, is another person opening a shitty server with the shitty leak scripts.
You should be happy people actually take effort to reply to your ass.
pawn Code:
timer NOPCheck[5000, i](playerid)
{
if(GetPlayerState(playerid) != 2) NOPTrigger[playerid] = 0;
new newcar = GetPlayerVehicleID(playerid);
if(PlayerInfo[playerid][pAdmin] > 1 || GetPlayerState(playerid) != 2) return 1;
else if(IsAnDOCCar(newcar) && PlayerInfo[playerid][pMember] != 11 && PlayerInfo[playerid][pLeader] != 11) ExecuteNOPAction(playerid);
else if(IsACopCar(newcar) && PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) ExecuteNOPAction(playerid);
else if(IsAPlane(newcar) && (PlayerInfo[playerid][pFlyLic] != 1)) ExecuteNOPAction(playerid);
else if(IsAFBICar(newcar) && PlayerInfo[playerid][pMember] != 2 && PlayerInfo[playerid][pLeader] != 2) ExecuteNOPAction(playerid);
else if(IsAnNGCar(newcar) && PlayerInfo[playerid][pMember] != 11 && PlayerInfo[playerid][pLeader] !=11) ExecuteNOPAction(playerid);
else if(IsAnNGAIRCar(newcar) && PlayerInfo[playerid][pMember] != 11 && PlayerInfo[playerid][pLeader] !=11) ExecuteNOPAction(playerid);
else if(IsAnSFPDCar(newcar) && PlayerInfo[playerid][pMember] != 3 && PlayerInfo[playerid][pLeader] != 3) ExecuteNOPAction(playerid);
else if(IsAnSASDCar(newcar) && PlayerInfo[playerid][pMember] != 7 && PlayerInfo[playerid][pLeader] != 7) ExecuteNOPAction(playerid);
else if(IsAPizzaCar(newcar) && PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) ExecuteNOPAction(playerid);
else if(IsAnAmbulance(newcar) && PlayerInfo[playerid][pMember] != 4 && PlayerInfo[playerid][pLeader] != 4) ExecuteNOPAction(playerid);
else if(IsVIPcar(newcar) && PlayerInfo[playerid][pDonateRank] == 0) ExecuteNOPAction(playerid);
else if(IsATierraARCar(newcar) && PlayerInfo[playerid][pMember] != 12 && PlayerInfo[playerid][pLeader] != 12) ExecuteNOPAction(playerid);
else if(IsAnNGARMCar(newcar) && PlayerInfo[playerid][pMember] != 11 && PlayerInfo[playerid][pLeader] !=11) ExecuteNOPAction(playerid);
return 1;
}
and additon for your shitty leak script from the shitty leak script:
pawn Code:
IsPlayerInRangeOfVehicle(playerid, vehicleid, Float: radius) {
new
Float:Floats[3];
GetVehiclePos(vehicleid, Floats[0], Floats[1], Floats[2]);
return IsPlayerInRangeOfPoint(playerid, radius, Floats[0], Floats[1], Floats[2]);
}
Re: [HELP]NOPCheck Error. -
Simplyfrag - 18.10.2012
i wouldnt even help him due to this is a NGRP script