SA-MP Forums Archive
RemoveBuilding - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: RemoveBuilding (/showthread.php?tid=379355)



RemoveBuilding - luk19as - 21.09.2012

Could you please please please help me get rid of buildings in samp to put a mapped one? I am having such a huge problem. I tried alo't of things, searched the net still no luck. Please help me! Add me on skype: luk19as


Re: RemoveBuilding - HyDrAtIc - 21.09.2012

Use the samp map editor to remove buildings....

Off:

This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.

LOL


Re: RemoveBuilding - luk19as - 21.09.2012

But there is a quick include, i managed to get no errors while compiling but the buildings don't remove ;d


Re: RemoveBuilding - HyDrAtIc - 21.09.2012

At your server.cfg

make this line like this

Код:
gamemode0 yourgamemode 1
That will work i think


Re: RemoveBuilding - luk19as - 21.09.2012

It's already like that Well i added the code like this. FOR EXAMPLE

#include <removebuilding>
public OnPlayerConnect(playerid)
{
RemoveBuilding(playerid, 5929, 1230.8906, -1337.9844, 12.5391, 0.25);
return 1;
}

But the buildings wont remove I dont get errors.
When i connect there is no login box, no money, no exp, when i go on icons nothing happens


Re: RemoveBuilding - HyDrAtIc - 21.09.2012

Show us your server.cfg


Re: RemoveBuilding - DarkB0y - 21.09.2012

https://sampforum.blast.hk/showthread.php?tid=282801

use this , and if u are using MTA this is much better and u can remove building in it


Re: RemoveBuilding - luk19as - 21.09.2012

I am not using mta. I took my old HP's code with removebuilding but i get that problem ;/ also here is my
RPG server.cfg

echo Executing Server Config...
lanmode 1
rcon_password
maxplayers 100
port 7777
hostname
gamemode0 GRP
filterscripts antiswear Laikas stars veiksmai2 xStreamer
announce 1
query 1
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins audio.dll xstreamer.dll mysql.dll streamer.dll LIBMYSQL.dll


Re: RemoveBuilding - HyDrAtIc - 21.09.2012

Try this

Код:
echo Executing Server Config...
lanmode 0
rcon_password
maxplayers 100
port 7777
hostname
gamemode0 GRP 1
filterscripts antiswear Laikas stars veiksmai2 xStreamer
announce 1
query 1
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins audio xstreamer mysql streamer LIBMYSQL
But don't forget to edit the rcon password


Re: RemoveBuilding - luk19as - 21.09.2012

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
Try this

Код:
echo Executing Server Config...
lanmode 0
rcon_password
maxplayers 100
port 7777
hostname
gamemode0 GRP 1
filterscripts antiswear Laikas stars veiksmai2 xStreamer
announce 1
query 1
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins audio xstreamer mysql streamer LIBMYSQL
But don't forget to edit the rcon password
Same thing... Nothing really happened.