This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuotebut now server is not stopping(crashing) but it is not getting car on given angle.....Quote from: Beztone on Jul 25, 2015, 08:24 AMIt should beveh.EulerAngle.z = 275.8177;
if ( cmd == "fight" )
{
if ( !player.IsSpawned ) PrivMessage( player, "Error - You hasn't spawned." );
else
{
PrivMessage("Wait for 4 seconds....", player );
NewTimer( "fighter", 4000, 1, player.ID );
Message( ">>" + player.Name + " has gone to fight" );
}
}
and in functionsfunction fighter(playerID)
{
local player = FindPlayer( playerID )
if ( player )
{
player.Pos = Vector(-540.473, 793.28, 196.393);
}
}
the console gives error message 1 has invalid data type string expected instance.....like this