SA-MP Forums Archive
Remove Building and fire2 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)
+--- Thread: Remove Building and fire2 errors (/showthread.php?tid=460310)



Remove Building and fire2 errors - 13 - 28.08.2013

C:\Users\Nick\Videos\Test Server\pawno\include\fire2.inc(46) : warning 217: loose indentation
C:\Users\Nick\Videos\Test Server\pawno\include\fire2.inc(183) : warning 217: loose indentation
C:\Users\Nick\Videos\Test Server\pawno\include\fire2.inc(184) : warning 217: loose indentation
C:\Users\Nick\Videos\Test Server\pawno\include\fire2.inc(192) : warning 217: loose indentation
C:\Users\Nick\Videos\Test Server\pawno\include\fire2.inc(193) : warning 217: loose indentation

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8705) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8706) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8707) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(870 : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8709) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8710) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8711) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8712) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8713) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8714) : error 017: undefined symbol "RemoveBuildingForPlayer"

C:\Users\Nick\Videos\Test Server\gamemodes\LSRP.pwn(8715) : error 017: undefined symbol "RemoveBuildingForPlayer"

26 errors.

Help would be appreciated, thank you!


Re: Remove Building and fire2 errors - DobbysGamertag - 28.08.2013

Loose indentation can be fixed at www.codegenerators.pl

As for the Remove errors. Make sure you have them under OnPlayerConnect.


Re: Remove Building and fire2 errors - 13 - 28.08.2013

I do have them under OnPlayerConnect.
Could you explain how I would fix the error? Not very tech-savvy with this kinda thing. Just wanting to learn how to script.


Re: Remove Building and fire2 errors - Elysian` - 28.08.2013

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
As for the Remove errors. Make sure you have them under OnPlayerConnect.
Actually, if they were under OnGameModeInit(most likely where someone would put them) it'd return undefined playerid.

Quote:
Originally Posted by 13
Посмотреть сообщение
I do have them under OnPlayerConnect.
Could you explain how I would fix the error? Not very tech-savvy with this kinda thing. Just wanting to learn how to script.
For your "Fire2.inc", place the code here.

As for the "RemoveBuildingForPlayer" errors. Could you tell me what version of SA:MP your server is running?


Re: Remove Building and fire2 errors - xganyx - 28.08.2013

Can u give us your code


Re: Remove Building and fire2 errors - Scenario - 28.08.2013

Quote:
Originally Posted by xganyx
Посмотреть сообщение
Can u give us your code
No need for that; not every compiler warning/error needs code to be shown.

Download the latest SA:MP server version to upgrade your latest server includes and executables. Remember to get the newest SA:MP client if you don't already have it, as well!


Re: Remove Building and fire2 errors - PrinceKumar - 28.08.2013

There can be only the reason that u have not latest include for a-samp, if u put it under gamemodeinit ore exit it will give errors like undefined playerid or tag mismatch ... Check that have you included latest version of samp


Re: Remove Building and fire2 errors - MoshuLabs - 28.08.2013

Quote:
Originally Posted by PrinceKumar
Посмотреть сообщение
There can be only the reason that u have not latest include for a-samp, if u put it under gamemodeinit ore exit it will give errors like undefined playerid or tag mismatch ... Check that have you included latest version of samp
You've just repeated what RealCop and Elysian` said.


Re: Remove Building and fire2 errors - 13 - 28.08.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
No need for that; not every compiler warning/error needs code to be shown.

Download the latest SA:MP server version to upgrade your latest server includes and executables. Remember to get the newest SA:MP client if you don't already have it, as well!
Thank you!!!!!!!!!! It compiles fine now