SA-MP Forums Archive
Compile 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: Compile errors (/showthread.php?tid=273041)



[SOLVED]Compile errors - Mr.Anonymous - 31.07.2011

Hey all
I don't know why but I get some strange errors while compiling my script

Quote:

C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(3866) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(3895) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4241) : error 004: function "SafeSetPlayerInterior" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4284) : error 017: undefined symbol "GetVehicleName"
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4284) : warning 202: number of arguments does not match definition
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4295) : error 004: function "IsAnOwnableCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4300) : error 004: function "IsASalesVehicle" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4304) : error 004: function "GetVehiclePrice" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4309) : error 004: function "IsAGangCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4314) : error 004: function "IsAGangCar2" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4319) : error 004: function "IsAGangCar3" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4324) : error 004: function "IsAGangCar4" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4329) : error 004: function "IsAGangCar5" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4334) : error 004: function "IsAGangCar6" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4339) : error 004: function "IsAGangCar7" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4344) : error 004: function "IsACopCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4349) : error 004: function "IsAnFbiCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4354) : error 004: function "IsNgCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4359) : error 004: function "IsASwatCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4364) : error 004: function "IsATacticalCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4369) : error 004: function "IsASpecialFCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4374) : error 004: function "IsAFiremenCar" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4379) : error 004: function "IsAnAmbulance" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4398 ) : error 004: function "IsACop" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4399) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4403) : error 004: function "IsACop" is not implemented
C:\Users\Desktop\server\ravens xtreme life\gamemodes\larp.pwn(4404) : error 004: function "SafeSetPlayerPos" is not implemented

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


26 Errors.

What's the problem?

EDIT: Solved.


Re: Compile errors - Kush - 31.07.2011

Your missing a bracket somewhere. Code please.


Re: Compile errors - Mr.Anonymous - 31.07.2011

Quote:
Originally Posted by Kush
View Post
Your missing a bracket somewhere. Code please.
Which one?


Re: Compile errors - Shockey HD - 31.07.2011

Remember that if you have a

{ You will have to use a }

For an Example

pawn Code:
CMD:fart(playerid,params[])
{
     SendClientMessage(playerid,COLOR_RED,"You have blew a hole in your pants!");
     return 1;
}
I used the begining { so i had to return that bracket }


Re: Compile errors - Kush - 31.07.2011

Check between those lines in which you've received the errors.


Re: Compile errors - Mr.Anonymous - 31.07.2011

I did nothing to the script basically. It is just as it is. The error started when I tried to put some code. But since that gave error I removed it. And nothing more was changed. So I tried to compile again and it gives 26 errors.

And also when I compiled before putting a new code, no error shows up. And now the script is just as before (nothing changed) but now shows 26 errors.


Re: Compile errors - Jay. - 31.07.2011

Quote:
Originally Posted by Mr.Anonymous
View Post
i did nothing to the script basically...it is just as it...the errror started when i tried to put some code..but since that gave error i removed it...and nothing more was changed...so i tried to compile again it gives 26 error...

And also when i compiled before putting a new code, no error comes...and now the script is just as before (nothing changed) but now shows 26 errors....I hope u understand me..
If you don't want your script to get stolen , your welcome to pm me and I will try to fix it.
If not just post it here, we can't help without it.




Re: Compile errors - Mr.Anonymous - 31.07.2011

Okay now i did something with it and it gives 18 errors..


Re: Compile errors - Kush - 31.07.2011

We can't help you if your not posting any code. It's not like we're going to steal your small optimization of the godfather.


Re: Compile errors - Jay. - 31.07.2011

Quote:
Originally Posted by Kush
View Post
We can't help you if your not posting any code. It's not like we're going to steal your small optimization of the godfather.
It is LA-RP, whatever that is.
I am going to attempt to fix his script, via pm now.


Re: Compile errors - Kush - 31.07.2011

Quote:
Originally Posted by Jay.
View Post
It is LA-RP, whatever that is.
I am going to attempt to fix his script, via pm now.
All he's missing a simple bracket.


Re: Compile errors - Jay. - 31.07.2011

Quote:
Originally Posted by Kush
View Post
All he's missing a simple bracket.
Yeah, of course but he doesn't want to show his code
And im bored so i'll just fix it for him.

although it isn't a decent script


Re: Compile errors - Mr.Anonymous - 31.07.2011

Quote:
Originally Posted by Kush
View Post
All he's missing a simple bracket.
Yeah maybe I am. So I hope Jay would help me in this.


Re: Compile errors - Toreno - 31.07.2011

You can try this tool, really good.
https://sampforum.blast.hk/showthread.php?tid=171429


Re: Compile errors - Mr.Anonymous - 31.07.2011

Quote:
Originally Posted by EliranPesahov
View Post
You can try this tool, really good.
https://sampforum.blast.hk/showthread.php?tid=171429
I'm sorry, but how do you use it?


Re: Compile errors - Jay. - 31.07.2011

He didn't have a missing bracket guys but he had an unneeded one.



@Mr.Anonoymous

Check your pms.


Re: Compile errors - Mr.Anonymous - 31.07.2011

Jay fixed it. Thanks man.

And thanks to everyone who helped.