SA-MP Forums Archive
How to put Objects? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to put Objects? (/showthread.php?tid=421092)



How to put Objects? - JimmyNeonHD - 08.03.2013

Hello, i wanna ask you i have made an objects with createobject,createavehicle...

So where can i put them

in OnGameModeInit

Doesn't work D:


Re: How to put Objects? - RenovanZ - 08.03.2013

Try put it on 'OnPlayerConnect'


Re: How to put Objects? - Sinner - 08.03.2013

Under OnGameModeInit(), anywhere else is wrong. if it doesn't work the code for your object/vehicles is probably bugged.


Re: How to put Objects? - KP2 - 08.03.2013

Quote:
Originally Posted by Kiyozi_Mu
Посмотреть сообщение
Try put it on 'OnPlayerConnect'
LoL!
-=-=-=-=-=-=-=-=-
Under
PHP код:
public OnGameModeInit()
{
//Here

Or post the code here and let's see if the problem lies in your code