Where do i put CreateDynamicObject?
#1

Where do i put CreateDynamicObject?
the 1st one to answer correctly will get +REP
Reply
#2

public OnGameModeInit()

or filterscript

public OnFilterScriptInit()
Reply
#3

Under:

Код:
public OnGameModeInit()
{
EDIT: We posted on the same time
Reply
#4

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 © 1997-2006, ITB CompuPhase


26 Errors.

Reply
#5

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

Please download this: https://sampforum.blast.hk/showthread.php?tid=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 Код:
#include <streamer>
Reply
#6

thanks Firewire you and and dEcooR get +REP
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)