RemoveBuildingForPlayer Error
#1

how to fix RemoveBuildingForPlayer Error when I compiled my map
Reply
#2

You need to place it in OnPlayerConnect, I'm assuming you put it within the rest of your mapping in OnGameModeInit.
Maybe some code or showing us what the error actually is may help...
Reply
#3

C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(9) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(10) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(11) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(12) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(13) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(14) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(15) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\aman\Desktop\satdmv14\filterscripts\sf house.pwn(147) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.
Reply
#4

RemoveBuildingForPlayer was added in 0.3d so you should update the server package (executables and includes) to 0.3z
Reply
#5

Did you include a_samp in your filterscript? If not add this line on the top of the filterscript
pawn Код:
#include <a_samp>
And re-compile the filterscript
Reply
#6

how to do it leave the server package
Reply
#7

Make sure you are including the latest version of a_samp
pawn Код:
#include <a_samp>
If you are try redownloading the samp server file so you have all of the latest files.
EDIT: Many beat me to it :P
Reply
#8

I did it
Reply
#9

add to on player connect
all removebuild code and save
Reply
#10

Oh thank you
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)