SA-MP Forums Archive
Common question - 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: Common question (/showthread.php?tid=392905)



Common question - DexterBR - 16.11.2012

This question is common and recurrent in some threads, but i still couldn't find a topic that had the solution.
The problem is that I can't put a part of one GameMode into my GameMode and include Filterscritps in my Gamemode.
I don't want add as filterscript, in filterscript folder, i want include functions in my original gamemode
When I add objects from another gamemode, some texts and commands fail and stop work. These are some of the apparent problems.
What I want to add are gates that move, some by command, and some for hotkey.
I put all the parts of the functions in the right places, and when i compile, no errors or warnings appear.
What else should I add to the GM? Perhaps the functions #new in top of GM?
I just put the 'parts' i want into related parts on my GM.

Thanks everybody for help, and I'm sorry if there is already topic for this.

If possible, I would ask links with tutorials to make this junction.

Thanks Again


Re: Common question - iGetty - 16.11.2012

The commands; are they mixed with strcmp and zcmd? or any other processors mixed?


Re: Common question - DexterBR - 16.11.2012

First, sorry for my english.

I'm not sure, but I think it's just 'strcmp'

I translated the whole gamemode, it seems that was the only one found.

In another GM, he uses F_CreateObject and F_MoveObject. IDK why uses variable "F", thats not present in my GM, maybe i have problems with that, or no?


Re: Common question - DexterBR - 17.11.2012

Anyone can help me?


Re: Common question - NumbSkull - 17.11.2012

if it is built for old/different includes it may be better to just make new commands yourself to do something like the ones you are trying to copy or get the missing includes


Re: Common question - DexterBR - 17.11.2012

I've tried to include in my gamemode, but always leaves everything else in trouble. I do not know what order to do