[Add-On] Police Gates (GF)
#41

Edit, sry. wrong forum.
Reply
#42

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?
Reply
#43

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);
}
Reply
#44

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!!!!!
Reply
#45

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

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.
Reply
#47

/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 !
Reply
#48

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
Reply
#49

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
Reply
#50

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?
Reply
#51

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.
Reply
#52

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

Thaank yu tez. (Y)
Reply
#54

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

Looks Nice
Reply
#56

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

No screens, can i see some pics please
Reply
#58

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.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)