SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/12/2019, 12:02 PM   #1
MatusVietNam
Little Clucker
 
Join Date: Nov 2019
Posts: 44
Reputation: 0
Default [Help]ExecuteNOPAction

I'm getting out of control with it, it gives me quite a headache, everyone please help me
[QUOTE./includes/OGRP.pwn(6746) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6747) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(674 : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6749) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6750) : error 017: undefined symbol "IsADonRacCar"
./includes/OGRP.pwn(6750) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6751) : error 017: undefined symbol "GetCarBusiness"
./includes/OGRP.pwn(6751) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6754) : error 017: undefined symbol "gv_ifID"
./includes/OGRP.pwn(6756) : error 017: undefined symbol "ExecuteNOPAction"
./includes/OGRP.pwn(6777) : error 017: undefined symbol "ABroadCast"
./includes/OGRP.pwn(6784) : error 017: undefined symbol "UpdateCarRadars"
./includes/OGRP.pwn(6825) : error 017: undefined symbol "ABroadCast"
./includes/OGRP.pwn(6867) : error 017: undefined symbol "PrepareLotto"
./includes/OGRP.pwn(6871) : error 017: undefined symbol "number_format"
./includes/OGRP.pwn(6872) : error 017: undefined symbol "SendClientMessageToAllEx"
./includes/OGRP.pwn(6874) : error 017: undefined symbol "SendClientMessageToAllEx"
./includes/OGRP.pwn(6877) : error 017: undefined symbol "number_format"
./includes/OGRP.pwn(687 : error 017: undefined symbol "SendClientMessageToAllEx"
./includes/OGRP.pwn(6886) : error 017: undefined symbol "number_format"
./includes/OGRP.pwn(6891) : error 017: undefined symbol "number_format"
./includes/OGRP.pwn(6896) : error 017: undefined symbol "number_format"][/QUOTE]

>
Quote:
timer NOPCheck[5000](playerid)
{
if(GetPlayerState(playerid) != 2) NOPTrigger[playerid] = 0;
new newcar = GetPlayerVehicleID(playerid);
if(PlayerInfo[playerid][pAdmin] > 1 || GetPlayerState(playerid) != 2) return 1;
if(IsAPlane(newcar) && (PlayerInfo[playerid][pFlyLic] != 1)) ExecuteNOPAction(playerid);
if(IsAPizzaCar(newcar) && PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) ExecuteNOPAction(playerid);
if(IsVIPcar(newcar) && PlayerInfo[playerid][pDonateRank] == 0) ExecuteNOPAction(playerid);
if(IsATruckerCar(newcar) && PlayerInfo[playerid][pJob] != 20 && PlayerInfo[playerid][pJob2] != 20) ExecuteNOPAction(playerid);
if(IsADonRacCar(newcar) && PlayerInfo[playerid][pJob] != 27 && PlayerInfo[playerid][pJob2] != 27) ExecuteNOPAction(playerid);
if(GetCarBusiness(newcar) != INVALID_BUSINESS_ID && PlayerInfo[playerid][pBusiness] != GetCarBusiness(newcar)) ExecuteNOPAction(playerid);
if(DynVeh[newcar] != -1)
{
if(DynVehicleInfo[DynVeh[newcar]][gv_igID] != 0 && (PlayerInfo[playerid][pMember] != DynVehicleInfo[DynVeh[newcar]][gv_igID] || PlayerInfo[playerid][pLeader] != DynVehicleInfo[DynVeh[newcar]][gv_igID]) || DynVehicleInfo[DynVeh[newcar]][gv_ifID] != 0 && PlayerInfo[playerid][pFMember] != DynVehicleInfo[DynVeh[newcar]][gv_ifID] || DynVehicleInfo[DynVeh[newcar]][gv_irID] != 0 && PlayerInfo[playerid][pRank] < DynVehicleInfo[DynVeh[newcar]][gv_irID])
{
ExecuteNOPAction(playerid);
}
}
return 1;
}
< NGRP Script
MatusVietNam is offline   Reply With Quote
Old 11/12/2019, 02:33 PM   #2
JasonRiggs
Gangsta
 
Join Date: Jul 2016
Location: My bedroom.
Posts: 780
Reputation: 47
Default Re: [Help]ExecuteNOPAction

Check if you have this function
pawn Code:
ExecuteNOPAction
defined or not, i believe it's a not as it shows you this error.
__________________
JasonRiggs is offline   Reply With Quote
Old 11/12/2019, 02:58 PM   #3
MatusVietNam
Little Clucker
 
Join Date: Nov 2019
Posts: 44
Reputation: 0
Default Re: [Help]ExecuteNOPAction

I checked it thoroughly, it's fully functional
MatusVietNam is offline   Reply With Quote
Old 11/12/2019, 09:53 PM   #4
JasonRiggs
Gangsta
 
Join Date: Jul 2016
Location: My bedroom.
Posts: 780
Reputation: 47
Default Re: [Help]ExecuteNOPAction

Quote:
Originally Posted by MatusVietNam View Post
I checked it thoroughly, it's fully functional
show me the definition of it then.
__________________
JasonRiggs is offline   Reply With Quote
Old 11/12/2019, 10:19 PM   #5
MatusVietNam
Little Clucker
 
Join Date: Nov 2019
Posts: 44
Reputation: 0
Default Re: [Help]ExecuteNOPAction

Quote:
C:\Users\QUANGT~1\DOWNLO~1\NGG\pawno\include\sscan f2.inc(226) : error 017: undefined symbol "SSCANF_OnPlayerDisconnect"
Цитата:
public OnPlayerDisconnect(playerid, reason)
{
#if defined SSCANF_OnPlayerDisconnect
SSCANF_OnPlayerDisconnect(playerid, reason);
#endif
SSCANF_Leave(playerid);
return 1;
}
but now it has this error
MatusVietNam is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.