Liberty Unleashed

Scripting => Script Help => Topic started by: Mido_Pop on July 27, 2012, 12:40:01 pm

Title: help in Sphere
Post by: Mido_Pop on July 27, 2012, 12:40:01 pm
how can i make Sphere  function onScriptLoad( )  how ?????
i have made it but the server sad error
Title: Re: help in Sphere
Post by: Knucis on July 27, 2012, 12:48:05 pm
Code: [Select]
function onScriptLoad()
{
      cSphere <- CreateSphere( Vector( x,y,z ), 2.5, Colour( r, g, b ) );
}
replace the X,Y,Z with your coords and R,G,B with your desired colour! This should work fine.

Also post your code!
Title: Re: help in Sphere
Post by: Mido_Pop on July 27, 2012, 01:00:42 pm
thanks man
Title: Re: help in Sphere
Post by: Rocky on July 27, 2012, 02:20:12 pm
man help i cant put +10 why ?

+10 to what?
Title: Re: help in Sphere
Post by: Shadow. on July 28, 2012, 11:03:58 am
lol dude you pasted both codes in same script!?

also,

USE [ code ] and [ /code ] NEXT TIME YOU PASTE A CODE ( without spaces )