Help with Function Not Implented
#1

hi guys i got a problem with a edit script, i tried to make a gate and all worked till i tried to forward the auto close so i got these errors :S

D:\Sa-mp Sever\gamemodes\gtarp.pwn(172 : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(1756) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(1792) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(1793) : error 004: function "SafeGivePlayerWeapon" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(1820) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2291) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2302) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2314) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(231 : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2330) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2334) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(233 : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2342) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2346) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2350) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2354) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(235 : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2370) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2374) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(237 : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2382) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2386) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(239 : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2402) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(2406) : error 004: function "PlayerToPoint" is not implemented
D:\Sa-mp Sever\gamemodes\gtarp.pwn(241 : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.

What did i do wrong? and if this is in wrong section of forum please move it :/
Reply
#2

You must have forget a bracket " { " or " } ".
Reply
#3

You forgot a { - } Somewhere...


EDIT : Jafet was faster
Reply
#4

ye i know that but i can't find it :S there is bracker all over the places
Reply
#5

Post your script from 1700 - 1730
Reply
#6

if(searchhit == 0)
{
SendClientMessage(playerid, COLOR_GREY, " No Contracts available !");
}
return 0;
}

public ExtortionBiz(bizid, money)
{
new string[256];
format(string, sizeof(string), "No-one");
if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 )
{
return 0;
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new name[MAX_PLAYER_NAME];
new wstring[MAX_PLAYER_NAME];
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 )
{
new value = money / 100;
value = value * 10;
SafeGivePlayerMoney(i, value);
BizzInfo[bizid][bTill] -= value;
}
Reply
#7

Try using Missing Brackets Finder.
Reply
#8

ok tnx darnell ill see if it works
Reply
#9

okay now i found it put it had a bracket and its this line

MISSING BRACKET: The { bracket on line 16754 does not have a pair!
Result:
Opening angle brackets ({): 8555
Closing angle brackets (}): 8554
1 angle brackets without pair! Fix it!


if(!strcmp(cmdtext, "/adminduty", true)) // By Ellis
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You need to login first !");
return 1;
}
Reply
#10

Post whole /adminduty command
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)