SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 02/06/2010, 10:30 PM   #11
Agent Smith
Gangsta
 
Agent Smith's Avatar
 
Join Date: Mar 2009
Location: United Kingdom, Kent
Posts: 501
Reputation: 5
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

You can put it in a FS under
Code:
public OnFilterScriptInit()
__________________

Credits to: Zh3r0
Agent Smith is offline   Reply With Quote
Old 02/06/2010, 10:41 PM   #12
Jackster
Banned
 
Join Date: Apr 2010
Posts: 229
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

er ok plz expand..
Jackster is offline   Reply With Quote
Old 02/06/2010, 10:43 PM   #13
Agent Smith
Gangsta
 
Agent Smith's Avatar
 
Join Date: Mar 2009
Location: United Kingdom, Kent
Posts: 501
Reputation: 5
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Well create a few FS, get the object code and place it under public OnFilterScriptInit(). Add the FS name into your server.cfg. Restart the server and your objects should be there
__________________

Credits to: Zh3r0
Agent Smith is offline   Reply With Quote
Old 02/06/2010, 10:55 PM   #14
Jackster
Banned
 
Join Date: Apr 2010
Posts: 229
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

mm ill give it ago
Thanks
Jackster is offline   Reply With Quote
Old 02/06/2010, 11:00 PM   #15
Jackster
Banned
 
Join Date: Apr 2010
Posts: 229
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

I gat this : : error 021: symbol already defined: "CreateObject"
Jackster is offline   Reply With Quote
Old 02/06/2010, 11:02 PM   #16
Agent Smith
Gangsta
 
Agent Smith's Avatar
 
Join Date: Mar 2009
Location: United Kingdom, Kent
Posts: 501
Reputation: 5
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Whats the line?
__________________

Credits to: Zh3r0
Agent Smith is offline   Reply With Quote
Old 02/06/2010, 11:05 PM   #17
Jackster
Banned
 
Join Date: Apr 2010
Posts: 229
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Error says line 9

Code:
public OnFilterScriptInit()

		CreateObject(8171, -1498.684204, 550.523315, 2.464361, 0.000000, 11.1726770051, 0.000000); //
	CreateObject(4867, -1436.614502, 488.131561, 1.887438, 0.000000, 0.000000, 0.000000); //
	CreateObject(4867, -1226.395752, 488.167664, 1.895569, 0.000000, 0.000000, -360.000039696); //
	CreateObject(4867, -1409.881958, 670.681213, 1.897804, 0.000000, 0.000000, -360.000039696); //
	CreateObject(4867, -1227.359741, 670.663391, 1.894034, 0.000000, 0.000000, -719.999678321); //
public OnFilterScriptInit() is on line 6 ...
Jackster is offline   Reply With Quote
Old 03/06/2010, 08:25 AM   #18
Agent Smith
Gangsta
 
Agent Smith's Avatar
 
Join Date: Mar 2009
Location: United Kingdom, Kent
Posts: 501
Reputation: 5
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Code:
public OnFilterScriptInit() 
{
    CreateObject(8171, -1498.684204, 550.523315, 2.464361, 0.000000, 11.1726770051, 0.000000);
	CreateObject(4867, -1436.614502, 488.131561, 1.887438, 0.000000, 0.000000, 0.000000);
	CreateObject(4867, -1226.395752, 488.167664, 1.895569, 0.000000, 0.000000, -360.000039696);
	CreateObject(4867, -1409.881958, 670.681213, 1.897804, 0.000000, 0.000000, -360.000039696);
	CreateObject(4867, -1227.359741, 670.663391, 1.894034, 0.000000, 0.000000, -719.999678321);
}

Are you sure it looks like this?
__________________

Credits to: Zh3r0
Agent Smith is offline   Reply With Quote
Old 03/10/2010, 06:24 PM   #19
New_Player[USW]
Big Clucker
 
New_Player[USW]'s Avatar
 
Join Date: Aug 2010
Location: World.
Posts: 87
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Oh so this is why I know my port-forward failed, I'll call my ISP to make a static IP .
THANKS WOET!
__________________
Join the server!
New_Player[USW] is offline   Reply With Quote
Old 21/11/2010, 05:54 PM   #20
Elmerz_com
Big Clucker
 
Elmerz_com's Avatar
 
Join Date: Nov 2010
Location: Internet
Posts: 134
Reputation: 0
Default Re: Frequently Asked Questions [READ THIS BEFORE POSTING]

Nice! thanks this sher helpd!
Elmerz_com is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SA-MP Frequently Asked Questions JaTochNietDan General 166 08/10/2012 10:08 PM
[HELP] Teleports - Read before posting Zezombia Scripting Help 9 10/04/2012 02:48 PM
My questions here. (please have a look here, this will be updated frequently) [dN]Eagle Help Archive 24 23/01/2010 04:15 PM


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.