SA-MP Forums Archive
[Add-On] Police Gates (GF) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [Add-On] Police Gates (GF) (/showthread.php?tid=49386)

Pages: 1 2 3


Re: [Add-On] Police Gates (GF) - znake - 08.02.2009

Edit, sry. wrong forum.


Re: [Add-On] Police Gates (GF) - Omega90210 - 10.02.2009

H:\Program Files\Rockstar Games\GTA San Andreas\SERVER\gamemodes\gf.pwn(6985) : error 021: symbol already defined: "CreateObject"

Hey i managed to get it down to only one error, can anyone help me with it please?


Re: [Add-On] Police Gates (GF) - Omega90210 - 10.02.2009

Hey i put in the non auto timer gate first, that worked ok, it took me a while to figure the right places out for the codes, now im thrown off again, where exactly am i supposed to create the public time codes:

Код:
// Create These Publics
 
public LSPDBarrier1Timer()
{
    SetObjectRot(LSPDBarrier1,0.000000,89.000000,269.818847);
}
 
public LSPDGate1Timer()
{
    MoveObject(LSPDGate1, 1588.265991,-1638.143554,9.534472,0.4);
}
 
public SFPDBarrier1Timer()
{
    MoveObject(LSPDGate1, 1588.265991,-1638.143554,15.014236,0.4);
}
 
public SFPDBarrier2Timer()
{
    SetObjectRot(SFPDBarrier2,0.000000,-89.000000,269.939086);
}
 
public SFPDGate1Timer()
{
    MoveObject(SFPDGate1, -1627.696777,688.464660,9.414549,0.4);
}
 
public LVPDBarrier1Timer()
{
    SetObjectRot(LVPDBarrier1, 0.000000,89.000000,271.965820);
}
 
public LVPDGate1Timer()
{
  MoveObject(LVPDGate1, 2293.974853,2497.135498,4.561177,0.4);
}
 
public LVPDGate2Timer()
{
    MoveObject(LVPDGate2, 2335.075195,2443.761474,7.144308,0.4);
}



Re: [Add-On] Police Gates (GF) - Klutty - 10.02.2009

Does this "count" as a FS so I have to add in the server.cfg? Or will it be included in GF if I put it in there?

Should I open up a new script, or just add it to gf.pwn ? :O

Please answer!!!!!



Re: [Add-On] Police Gates (GF) - SuperS0nic - 10.02.2009

Put it in your gamemode, much better, but you can make it into a FS if you like to.


Re: [Add-On] Police Gates (GF) - znake - 10.02.2009

Quote:
Originally Posted by SuperS0nic
Put it in your gamemode, much better, but you can make it into a FS if you like to.
Yup.


Re: [Add-On] Police Gates (GF) - GaTor360 - 08.04.2009

/lspdbarriergate1open /lspdbarriergate1close
/lspdgate1open /lspdgate1close
/sfpdbarriergate1open /sfpdbarriergate1close
/sfpdbarriergate2open /sfpdbarriergate2close
/sfpdgate1open /sfpdgate1close
/lvpdbarriergate1open /lvpdbarriergate1close
/lvpdgate1open /lvpdgate1close
/lvpdgate2open /lvpdgate2close

Thats alot of commands for Police Department/F.B.I. / National Guard To use.

Any way, Good Job !


Re: [Add-On] Police Gates (GF) - ccconfy - 09.04.2009

Hi. Ive tried it a lot of times but every time i compile my gf file my pawno crashes. It gives me a Don't send error and I dont know why. I hope someone will be able to help me fix that out because I really need this thing. Thanks a lot


Re: [Add-On] Police Gates (GF) - 4Brothers - 11.04.2009

C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(474) : error 021: symbol already defined: "LSPDBarrier1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(476) : error 021: symbol already defined: "LSPDGate1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(47 : error 021: symbol already defined: "SFPDBarrier1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(480) : error 021: symbol already defined: "SFPDBarrier2"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(482) : error 021: symbol already defined: "SFPDGate1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(484) : error 021: symbol already defined: "LVPDBarrier1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(486) : error 021: symbol already defined: "LVPDGate1"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(48 : error 021: symbol already defined: "LVPDGate2"
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(6656) : warning 217: loose indentation
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(6666) : warning 217: loose indentation
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(817 : warning 217: loose indentation
C:\Documents and Settings\Eric W. Grams\Desktop\SAMP SERVER\gamemodes\gf.pwn(8284) : warning 217: loose indentation

This is the Error Its Givin Me the error when I try to compile it in pawn.

Thanks


Re: [Add-On] Police Gates (GF) - Cesar - 12.04.2009

Quote:
Originally Posted by [XG
Tez ]
The loose intendation will occur when copy and pasteing things from one thing to another. The only way it can be fixed is if you fix it. It's pritty easy to do.
what do you mean?


Re: [Add-On] Police Gates (GF) - Lewwy - 12.04.2009

He means copying things from the forum like.

pawn Код:
public Hi(playerid)
{
  SendClientMessage(playerid, COLOR_LOL, "Lol.");
  return 1;
}
To the gamemode will make it look untidy automaticly.


Re: [Add-On] Police Gates (GF) - Tez2k7 - 17.04.2009

Quote:
Originally Posted by GaTor360
Any way, Good Job !
Thanks.


Re: [Add-On] Police Gates (GF) - GregJ - 29.04.2009

Thaank yu tez. (Y)


Re: [Add-On] Police Gates (GF) - Tez2k7 - 12.05.2009

Quote:
Originally Posted by GregJ
Thaank yu tez. (Y)
No probs.


Re: [Add-On] Police Gates (GF) - [BT]Sweet - 13.05.2009

Looks Nice


Re: [Add-On] Police Gates (GF) - Tez2k7 - 16.05.2009

Quote:
Originally Posted by ░▒▓███†Sweet†███▓▒░
Looks Nice
'cos it owns.


Re: [Add-On] Police Gates (GF) - Kanji_Suzuki - 19.05.2009

No screens, can i see some pics please


Re: [Add-On] Police Gates (GF) - Tez2k7 - 07.06.2009

Quote:
Originally Posted by J.Bull
No screens, can i see some pics please
Here:

LSPD Gate open
http://www.jmorris4.pwp.blueyonder.c...pdopengate.jpg

LSPD Gate closed
http://www.jmorris4.pwp.blueyonder.c...dclosegate.jpg

LSPD Barrier open
http://www.jmorris4.pwp.blueyonder.c...AMP/BGopen.jpg

LSPD Barrier closed
http://www.jmorris4.pwp.blueyonder.c...MP/BGclose.jpg

Thanks to veteranmoza for the pictures.