SA-MP Forums Archive
Problem with custom objects.. - 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: Problem with custom objects.. (/showthread.php?tid=542746)



Problem with custom objects.. - Ercha - 21.10.2014

Hello guys. So i've added a new custom model in sa-mp and it's a house, but i have problem,i can't see it in-game and everytime when i go to that custom house position, my game crashes. I recently started learning how to add new objects in sa-mp, watched tutorials and everything must be fine.. although i can see the object in sa-mp map editor.

i attached the pic so you coulde see.. please help!


Re: Problem with custom objects.. - TakeiT - 22.10.2014

where do you have the CreateObject code?

Could it be a mod crashing you?


Re: Problem with custom objects.. - fonia5 - 22.10.2014

Custom Objects? didn't know you can do this can the other player's see it as well and i take it it's crashing you if you spawning that building..


Re: Problem with custom objects.. - Ercha - 22.10.2014

Quote:
Originally Posted by TakeiT
Посмотреть сообщение
where do you have the CreateObject code?

Could it be a mod crashing you?
I have it under the public OnGameModeInit()

Quote:
Originally Posted by fonia5
Посмотреть сообщение
Custom Objects? didn't know you can do this can the other player's see it as well and i take it it's crashing you if you spawning that building..
The problem is that i can't even see that building in-game.. it's like invisible or something and when i go to it's position, then my game crashes.