Mapping problem [crashing because of removebuildingforplayer]
#1

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..
Reply
#2

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...
Reply
#3

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
Reply
#4

Are u placing the remove object for player at onplayerconnect?
Reply
#5

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.
Reply
#6

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
Reply
#7

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?!
Reply
#8

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
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)