CreatingObject HELP
#1

Hey i need help to create an object, i have made this so fare under public OnGameModeInit:

Object1 = CreateObject(4563,1714.2726,-2642.4924,13.5469,0.0, 0.0, 96.0);

then i have also made at the top of the page:

new Object1;

but i still gets these 2 warnings:

C:\Users\Admin\Downloads\GTA San Andreas\egen dm-server\gamemodes\holiwoodstar_2.pwn(493) : warning 225: unreachable code
C:\Users\Admin\Downloads\GTA San Andreas\egen dm-server\gamemodes\holiwoodstar_2.pwn(493) : warning 204: symbol is assigned a value that is never used: "Object1"


i've looked at https://sampwiki.blast.hk/wiki/CreateObject but can still get it to work!
what shall i do, please help!!

OBS!! no MTA Creating
Reply
#2

is there no one who can help me with this?
Reply
#3

Come on is there no one who can help me?!?!?!?!??!?!?!?!?!
Reply
#4

Dont double post, or tell sorry for double post..
uhum
Just this undergamemodeinit
CreateObject(4563,1714.2726,-2642.4924,13.5469,0.0, 0.0, 96.0);
Not Object1 you dont need this Object1 =
And convert objects on www.convertffs.com
_____________________
I helped you? REP+1 Me. Thanks
Reply
#5

okey, but when i delete "Object 1" i got one warning and one error:
C:\Users\Admin\Downloads\GTA San Andreas\egen dm-server\gamemodes\holiwoodstar_2.pwn(493) : warning 225: unreachable code
C:\Users\Admin\Downloads\GTA San Andreas\egen dm-server\gamemodes\holiwoodstar_2.pwn(493) : error 017: undefined symbol "Object"

and why shall i convert it, i havent use MTA to get any coordinates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)