Take back RemoveBuildingForPlayer
#1

How to replace removed stuff[add them back] when you do RemoveBuildingForPlayer ?
Reply
#2

before removing them with the editor, duplicate them so you can add them using
createobject, or createdynamicobject.
Reply
#3

Good trick. Is there any include made for this ?
Reply
#4

Yes, search the forum.
Reply
#5

Quote:
Originally Posted by Redirect Left
Посмотреть сообщение
Yes, search the forum.
I'm searching for one hour already and found nothing. Please share your information if you have any ?
Reply
#6

dude if you removed them using RemoveBuildingForPlayer, you now have to re-add them using a streamer (incognito's streamer is the most commonly used).
You add the objects exaclty in the position they were in the first place.

PHP код:
#include <streamer>
#include <a_samp>
//blah blah
CreateDynamicObject(3279262.093751807.6718816.82031,   356.858400.000003.14159, -1, -1, -1500.0500.0);    
//this is just an example. You can read all about Incognito's streamer by clicking the link below. 
https://sampforum.blast.hk/showthread.php?tid=102865

Be sure to add all the parameters, because the map editors and converters don't release them as output. The last 5 parameters will be missing.
Reply
#7

Maybe you could just use variables to store the details of the object you removed so you'll be able to replicate it later when needed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)