Map objects - 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: Map objects (
/showthread.php?tid=534527)
Map objects -
LeroyII - 30.08.2014
Hey guys, i am about to release this great map but i have one problem.. Two objects from original map don't want to remove/destroy! Here is my error:
Код:
E:\Desktop\SA-MP\Golden2\GOLDEN~SATDM V10.0-windows\filterscripts\adminhouse.pwn(339) : error 017: undefined symbol "RemoveBuildingForPlayer"
E:\Desktop\SA-MP\Golden2\GOLDEN~SATDM V10.0-windows\filterscripts\adminhouse.pwn(340) : error 017: undefined symbol "RemoveBuildingForPlayer"
And this is Remove object:
Код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
What did i do wrong? Oh and btw, I included a_samp and streamer includes.. does anything else needs to be included?
Thanks
Re: Map objects -
Eth - 30.08.2014
make sure that you downloaded the last server pack:
http://sa-mp.com/download.php
Re: Map objects -
rymax99 - 30.08.2014
Quote:
Originally Posted by Eth
|
The home page actually isn't updated - it links to the original 0.3z version - the latest is R4 for the server.
http://files.sa-mp.com
Re: Map objects -
LeroyII - 30.08.2014
Quote:
Originally Posted by Eth
|
Quote:
Originally Posted by rymax99
The home page actually isn't updated - it links to the original 0.3z version - the latest is R4 for the server.
http://files.sa-mp.com
|
Yeah well you just said to me to download new server. I don't need new server, i am using my own! I have problem with compiling! My fs won't compile at all!
Re: Map objects -
Eth - 30.08.2014
dude just download the last server pack, then open the new server pack include then copy the a_samp.inc and put it in your server includes!!!!
Re: Map objects -
LeroyII - 31.08.2014
Quote:
Originally Posted by Eth
dude just download the last server pack, then open the new server pack include then copy the a_samp.inc and put it in your server includes!!!!
|
Ok, sorry for misunderstanding.. But now i get this error:
Код:
E:\Desktop\SA-MP\New folder\gamemodes\SATDMv9.pwn(6564) : error 017: undefined symbol "playerid"
E:\Desktop\SA-MP\New folder\gamemodes\SATDMv9.pwn(6565) : error 017: undefined symbol "playerid"
Re: Map objects -
LeroyII - 31.08.2014
Quote:
Originally Posted by Ralfie
Add these somewhere where playerid is defined,
Код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
i.e; Under OnPlayerConnect(playerid)
|
Worked.. Thanks everybody.. and sorry but i can't give you +rep.. not enough post :/