Beginner, Help with mapping
#1

I add my maps into my server but they don't show up

This is how i do
Код:
#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
// Just a example of the way i add objects
CreateDynamicObject(987,2814.19995117,-1207.69995117,24.00000000,0.00000000,1.99951172,1.99951172); //object(elecfence_bar) (2)

return 1;
#endif
Reply
#2

If it IS NOT defined as a filterscript then you need to add it to: OnGameModeInit. OR... Add a "#define FILTERSCRIPT true" to the top.
Reply
#3

Compile Them LOL
Reply
#4

If you're using it in a gamemode,
Remove the following lines and the lines inbetween them:

#if defined FILTERSCRIPT
#endif

You also need to place the objects inside OnGameModeInit.

Good luck.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)