SA-MP Forums Archive
CreateObject - CreateDynamicObject - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CreateObject - CreateDynamicObject (/showthread.php?tid=256302)



CreateObject - CreateDynamicObject - tbedy - 20.05.2011

i using Raven's RolePlay and i have 2 errors..

Код:
C:\Documents and Settings\Toni Bedy\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(83955) : error 021: symbol already defined: "CreateObject"
C:\Documents and Settings\Toni Bedy\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(84003) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
please help


Re: CreateObject - CreateDynamicObject - Steve M. - 20.05.2011

Show us the code where are the errors. We can't help you without the code.


Re: CreateObject - CreateDynamicObject - Nenad - 21.05.2011

i think you have somewhere in the script
Код:
new CreateDinamicObject;
if you have that you need to delete it


Re: CreateObject - CreateDynamicObject - Kerlan - 03.11.2011

I just had this problem. Your create objects in the wrong section it's suppose to be under AddPlayerClass
Are you using the plugin streamer?
I really need Rep+, you can rep me if i helped you.


Re: CreateObject - CreateDynamicObject - Stigg - 03.11.2011

Quote:
Originally Posted by Kerlan
Посмотреть сообщение
I just had this problem. Your create objects in the wrong section it's suppose to be under AddPlayerClass
Are you using the plugin streamer?
I really need Rep+, you can rep me if i helped you.
This is wrong infomation, create your objects under public OnGameModeInit()

https://sampwiki.blast.hk/wiki/CreateObject

AddPlayerClass is not even a callback. Just a heads up.


Re: CreateObject - CreateDynamicObject - AndreT - 03.11.2011

Objects can be created in every callback or function.


Re: CreateObject - CreateDynamicObject - Stigg - 03.11.2011

Quote:
Originally Posted by AndreT
Посмотреть сообщение
Objects can be created in every callback or function.
This is also true, but that was'nt my point. As i said "just a heads up" to avoid confusion.


Re: CreateObject - CreateDynamicObject - speedkillbig - 17.03.2013

used YSI Inc.


Re: CreateObject - CreateDynamicObject - hossamkandil - 30.06.2014

Quote:

#include <a_samp>
#include <a_players>

Try To Remove These Then Add Them Again.