Mapping problem [crashing because of removebuildingforplayer] -
JuWo - 12.12.2017
i deleted alot of trees in the last time i was mapping because i want to change them to pine trees, now i tested it out on the map editor program and it crashes on me (and it doesn't when i remove all the ''removebuildingforplayer''s)
how do i fix this?
edit: i got like over a 1000 objects removed, i think its because of a limit..
Re: Mapping problem [crashing because of removebuildingforplayer] -
spyro9696 - 12.12.2017
Perhaps you need use the streamer plugin, but it generally serves for the "CreateObject" when there are a lot of object added... I don't know...
Re: Mapping problem [crashing because of removebuildingforplayer] -
Lucases - 12.12.2017
Quote:
Originally Posted by spyro9696
Perhaps you need use the streamer plugin, but it generally serves for the "CreateObject" when there are a lot of object added... I don't know...
|
Don't post then
Re: Mapping problem [crashing because of removebuildingforplayer] -
RogueDrifter - 12.12.2017
Are u placing the remove object for player at onplayerconnect?
Re: Mapping problem [crashing because of removebuildingforplayer] -
JuWo - 12.12.2017
i'm going to try it ingame soon, but its for now only crashing in the mapping editor where i click ''Test'' that yellow light bulb thing and it crashes while launching the game with the loading bar.
Re: Mapping problem [crashing because of removebuildingforplayer] -
JuWo - 13.12.2017
i put the mapping in my server, and it crashed. what kind of plugin or anything do i need to fix this? its the ''removebuildingforplayer'' that crashes it because it doesnt crash when i only put the createobject's
Re: Mapping problem [crashing because of removebuildingforplayer] -
RogueDrifter - 13.12.2017
Quote:
Originally Posted by JuWo
i put the mapping in my server, and it crashed. what kind of plugin or anything do i need to fix this? its the ''removebuildingforplayer'' that crashes it because it doesnt crash when i only put the createobject's
|
Read what i wrote, are you placing RemoveBuildingForPlayer at onplayerconnect?!
Re: Mapping problem [crashing because of removebuildingforplayer] -
JuWo - 13.12.2017
i already said that its crasing in my map editor and if i log into my server and i already had my other removebuildings on playerconnect and ofc i placed my new mapping there too did you even see me saying its crashing on the map editor testing sht, if you aint look back like fr and if i didnt place it on ONPLAYERCONNECT my pawno would crash, i never said my pawno is crashing i said my samp is crashing when im logging into my server and even if i test it when using sa-mp: map-construction ingame testing option
Re: Mapping problem [crashing because of removebuildingforplayer] -
RogueDrifter - 13.12.2017
Quote:
|
Originally Posted by wiki-sa-mp
When removing the same object for a player, they will crash. Commonly, players crash when reconnecting to the server because the server removes buildings on OnPlayerConnect.
|
removing the same object twice perhaps? don't rely on the map editor test as it could be a problem with the editor itself, execute the code in ur pawno make sure you're not repeating lines and compile then test it in-game normally.