[URGENT] A problem with NOPCheck and GivePlayerCash.
#1

What's wrong here?
Код:
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(3846) : error 017: undefined symbol "GivePlayerCash"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(3871) : error 017: undefined symbol "GivePlayerCash"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(3956) : error 017: undefined symbol "GivePlayerCash"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(4272) : error 017: undefined symbol "GivePlayerCash"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(4429) : warning 203: symbol is never used: "seek"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(4459) : warning 203: symbol is never used: "seek"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6094) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6637) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6653) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6666) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6680) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6691) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6705) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6768) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6783) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6798) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6813) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6828) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6843) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6858) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6873) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6888) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6903) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6918) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6933) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6948) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6959) : error 017: undefined symbol "NOPCheck"
E:\backup\Compressed\Linko_Gaming_Roleplay by matt\Linko Gaming Roleplay\gamemodes\LGRP_2.pwn(6978) : error 017: undefined symbol "NOPCheck"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Код:
stock GivePlayerCash(playerid, money)
{
	SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+money);
	GivePlayerMoney(playerid, money);
	return 1;
}
Код:
Delay: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(IsAnNGARMCar(newcar) && PlayerInfo[playerid][pMember] != 11 && PlayerInfo[playerid][pLeader] !=11) ExecuteNOPAction(playerid);
	return 1;
}
It occurs only on the line having giveplayerid and dat refueling line
Код:
		        GivePlayerCash(giveplayerid, 50000);
GivePlayerCash(playerid, -RefuelingVehiclePrice[playerid]);
Reply
#2

Pls help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)