SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/07/2013, 07:04 PM   #1
kjek98
Banned
 
Join Date: Dec 2011
Posts: 169
Reputation: 6
Default Where do i put CreateDynamicObject?

Where do i put CreateDynamicObject?
the 1st one to answer correctly will get +REP
kjek98 is offline   Reply With Quote
Old 01/07/2013, 07:06 PM   #2
dEcooR
Banned
 
Join Date: Feb 2012
Location: Slovakia
Posts: 482
Reputation: 2
Default Re: Where do i put CreateDynamicObject?

public OnGameModeInit()

or filterscript

public OnFilterScriptInit()
dEcooR is offline   Reply With Quote
Old 01/07/2013, 07:06 PM   #3
FunkVolume
Little Clucker
 
Join Date: Jun 2013
Posts: 9
Reputation: 0
Default Re: Where do i put CreateDynamicObject?

Under:

Code:
public OnGameModeInit()
{
EDIT: We posted on the same time
FunkVolume is offline   Reply With Quote
Old 01/07/2013, 07:46 PM   #4
kjek98
Banned
 
Join Date: Dec 2011
Posts: 169
Reputation: 6
Default Re: Where do i put CreateDynamicObject?

I got these errors
Quote:
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(55) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(56) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(57) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(5 : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(59) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(60) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(61) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(62) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(63) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(64) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(65) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(66) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(67) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(6 : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(69) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(70) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(71) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(72) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(73) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(74) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(75) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(76) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(77) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(7 : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(79) : error 017: undefined symbol "CreateDynamicObject"
C:\Documents and Settings\Owner\Desktop\red vs bue\gamemodes\cod.pwn(80) : error 017: undefined symbol "CreateDynamicObject"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
kjek98 is offline   Reply With Quote
Old 01/07/2013, 07:48 PM   #5
Firewire
Big Clucker
 
Firewire's Avatar
 
Join Date: Jun 2013
Location: United Kingdom
Posts: 72
Reputation: 5
Default Re: Where do i put CreateDynamicObject?

You need to have an include to do this for you.

Please download this: http://forum.sa-mp.com/showthread.php?t=102865

Placing the .inc in serverdirectory/pawno/include and the .dll or .so in serverdirectory/plugins

If you already have one, you can include it at the top of your script by typing:
pawn Code:
#include <streamer>
Firewire is offline   Reply With Quote
Old 01/07/2013, 07:56 PM   #6
kjek98
Banned
 
Join Date: Dec 2011
Posts: 169
Reputation: 6
Default Re: Where do i put CreateDynamicObject?

thanks Firewire you and and dEcooR get +REP
kjek98 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
help , CreateDynamicObject morocco Scripting Help 11 05/06/2013 09:12 AM
createdynamicobject :| absolute Scripting Help 5 12/04/2013 07:45 AM
CreateDynamicObject Help Connorlolz Scripting Help 6 26/05/2012 03:57 AM
CreateDynamicObject vassilis Scripting Help 10 27/09/2011 02:12 AM


All times are GMT. The time now is 09:55 PM.


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