Liberty Unleashed

Scripting => Script Help => Topic started by: Kevin on April 13, 2013, 12:27:05 am

Title: pos
Post by: Kevin on April 13, 2013, 12:27:05 am
 :'( :'( :'( please help to put this spree, in this position Pos = Vector( -1565.5, -951.9, 11.01 )
function onPlayerCommand( pPlayer, szCommand, szText )
{
if ( szCommand == "spre" )
{
CreateSphere( pPlayer.Pos, 5.00, Colour( 0, 0, 255 ) );
}
return 1;
}

Title: Re: pos
Post by: IdkanYavuk X on April 13, 2013, 02:15:13 am
Code: [Select]
Pos <- Vector( -1565.5, -951.9, 11.01 );
function onPlayerCommand( pPlayer, szCommand, szText )
{
    if ( szCommand == "spre" )
    {
        CreateSphere( Pos, 5.00, Colour( 0, 0, 255 ) );
    }
    return 1;
}
Title: Re: pos
Post by: Kevin on April 13, 2013, 02:44:24 pm
thank Idkn Yavuk problem result  8) 8) 8) 8)