SA-MP Forums Archive
Help Pleaze - 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: Help Pleaze (/showthread.php?tid=374259)



Help Pleaze - yLuSsSIoN - 02.09.2012

Hello guys , i got a problem with CreateObject or CreateDynamicObject , if i put objects in Gamemode then compile , no errors , but wheen i start the server again it says : File or function is not found , if i try to add the objects with a FS ,
not giving errors , but the objects don't appear . I dont know why , but someone help me pleaze , i got the streamer included in gamemod , but any objects don't appear , for example thes objects( Theese worked on other gamemode )
Pastebin
Pleaze someone explain me why !!
( Sry for my bad english , i'm from Romania )


Re: Help Pleaze - Your:RP - 02.09.2012

I think if it says it isn't found it is an invalid object ID.

Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 46 seconds.

Damn you ^^


Re: Help Pleaze - yLuSsSIoN - 02.09.2012

The problem is , every object i put , is not working , anything ..


Re: Help Pleaze - Your:RP - 02.09.2012

Are you putting the code in the correct place? Make sure it's not just thrown anywhere.


Re: Help Pleaze - yLuSsSIoN - 02.09.2012

I am putting the objects under public OnPlayerConnect


Re: Help Pleaze - TaLhA XIV - 02.09.2012

No.Put it under OnGameModeinti


Re: Help Pleaze - yLuSsSIoN - 02.09.2012

It worked , ty very much
P.S 1 more problem , wheen i start the server my fs are unloading , so i need to load the all FS , theen gmx
Is there a posible way , wheen i start the server , my filterscript load automaticaly ?


Re: Help Pleaze - Your:RP - 02.09.2012

yes, but you have to put the fs in the config file


Re: Help Pleaze - yLuSsSIoN - 02.09.2012

yes , i know , all my filterscript are put in Filterscripts line in server.cfg


Re: Help Pleaze - Your:RP - 02.09.2012

then login as rcon and do /rcon load (fs name)

I think