CreateObject doesnt working or i am doing wrong

Started by MacTavish, Nov 19, 2014, 06:41 AM

Previous topic - Next topic

MacTavish

I tested on both OnServerStart  And OnPlayerJoin but my object is now showing in server, i am getting no error in console


CreateObject(6000,0,Vector(-277, -495, 10),255); 

I am trying to add this gate


Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

MacTavish

Do i need to add this id instead 6000




Does it work? I didnt tested

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Honey

The gate is already there? What is the problem?

Btw, That's flockshot's script. Did he gave it to you?

MacTavish

No bro i just added that image for explain what i am trying to add. That image i got from  friend. The gate is not appearing in my server

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Honey

Oh Ok, Try this :


gate <-CreateObject(6000,0,Vector(-277, -495, 10),255); 
gate.ShowForAll();


MacTavish

Quote from: Honey on Nov 19, 2014, 08:47 AMOh Ok, Try this :


gate <-CreateObject(6000,0,Vector(-277, -495, 10),255); 
gate.ShowForAll();


Didnt worked. Actually this is working OnPlayerJoin

CreateObject(303,0,Vector(-277, -495, 10),255);
6000 was wrong


Thanks. :)

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P