Compailing errors - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Compailing errors (
/showthread.php?tid=109180)
Compailing errors -
whitedragon - 18.11.2009
i get error of compaling:
Quote:
C:\LARP.PWN(219 : error 004: function "SafeGivePlayerMoney" is not implemented
C:\LARP.PWN(2227) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\LARP.PWN(2263) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\LARP.PWN(2264) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\LARP.PWN(2291) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\LARP.PWN(2762) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2773) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2785) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2789) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2801) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2805) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2809) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2813) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2817) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2821) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2825) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2829) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2841) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2845) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2849) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2853) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2857) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2869) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2873) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2877) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2889) : error 004: function "PlayerToPoint" is not implemented
|
i dont know what is the problem
Re: Compailing errors -
Kurence - 18.11.2009
Quote:
Originally Posted by whitedragon
i get error of compaling:
Quote:
C:\LARP.PWN(219 : error 004: function "SafeGivePlayerMoney" is not implemented
C:\LARP.PWN(2227) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\LARP.PWN(2263) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\LARP.PWN(2264) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\LARP.PWN(2291) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\LARP.PWN(2762) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2773) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2785) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2789) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2801) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2805) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2809) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2813) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2817) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2821) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2825) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2829) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2841) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2845) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2849) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2853) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2857) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2869) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2873) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2877) : error 004: function "PlayerToPoint" is not implemented
C:\LARP.PWN(2889) : error 004: function "PlayerToPoint" is not implemented
|
i dont know what is the problem
|
rofl? i have never seen this error...
Is he saying it on all functions used in script?
Re: Compailing errors -
Peter_Corneile - 18.11.2009
You misses a bracket somewhere .. Show me the script
Re: Compailing errors -
whitedragon - 18.11.2009
hmm i dont want to show but how i locate the place?
Re: Compailing errors -
Peter_Corneile - 18.11.2009
Quote:
Originally Posted by whitedragon
hmm i dont want to show but how i locate the place?
|
Can you show me the script ?
Re: Compailing errors -
DeathOnaStick - 18.11.2009
Quote:
Originally Posted by whitedragon
hmm i dont want to show but how i locate the place?
|
Just look for a missing brace. Not more, not less. It migh be before line 2198 but more i cannot say without seeing the script.
Re: Compailing errors -
Sayaron - 18.11.2009
Its indeed a missing bracket, but its hard to help as we dont know whats inside your script :P
Re: Compailing errors -
whitedragon - 22.11.2009
i cann't show the script because in my country is small number of server-s and they may stole it
Re: Compailing errors -
whitedragon - 22.11.2009
hmm i found the mistake but what is wrong with it
Код:
if(strcmp(cmd, "/hdrag", true) == 0)
{
tmp = strtok(cmdtext, idx);
giveplayerid = strval(tmp);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /hdrag [PlayerID]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(DragTimer[playerid] >= 0)
{
if(PlayerCuffed[giveplayerid] == 1)
{
TogglePlayerControllable(giveplayerid, 0);
}
GetPlayerName(giveplayerid, sendername, sizeof(sendername));
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "officer %s let %s to go", playername, sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
KillTimer(DragTimer[playerid]);
DragTimer[playerid] = 0;
TogglePlayerControllable(giveplayerid, 1);
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not cop!");
}
return 1;
}
Re: Compailing errors -
Peter_Corneile - 22.11.2009
Nothing is wrong in that code if you have all those functions used in it defined