SA-MP Forums Archive
gangzone help? - 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: gangzone help? (/showthread.php?tid=465317)



gangzone help? - Bulgaria - 21.09.2013




any HELP ?


Re: gangzone help? - EiresJason - 21.09.2013

Remove this;
pawn Код:
new lspd;
And edit the '#define lspd' line to this;
pawn Код:
#define lspd 1



Re: gangzone help? - Bulgaria - 21.09.2013

again say me this error :/


Re: gangzone help? - EiresJason - 21.09.2013

Remove the #define lspd 1 line and put this above OnFilterScriptInit()
pawn Код:
new lspd;
Also; if you're making a GM and not a FS; remove any of the Filterscript callbacks like OnFilterScriptInit().


Re: gangzone help? - Bulgaria - 21.09.2013

AGAIN :@@@@@@@ ((((((((


Re: gangzone help? - EiresJason - 21.09.2013

Replace this code with everything from OnGameModeInit() and up.

pawn Код:
#include <a_samp>

new lspd;
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

public OnGameModeInit()
{
    lspd = GangZoneCreate(166.4,-1922.6,1603.95,-1160.74);
    return 1;
}



Re: gangzone help? - Bulgaria - 21.09.2013

ok fixed but now we have ERRO MAIN


Re: gangzone help? - EiresJason - 21.09.2013

What do you mean?

Whats the exact error message?


Re: gangzone help? - Bulgaria - 21.09.2013

filterscripts\GangZones.pwn(33) : error 021: symbol already defined: "main"


Re: gangzone help? - EiresJason - 21.09.2013

Remove this line. The Main() I sent you.
pawn Код:
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}