Menu

Show posts

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 Menu

Messages - Spice

#46
it worked just like this.....
first get angle( rx, ry, rz ) by
PrivMessage(player,">>>" + vehicle.EulerAngle + "...");then when player get vehicle add this
veh.EulerAngle = Vector( 2.91636, 2.9141, -1.56754 );//rx, ry, rzthats all thanks to all
#47
i have tried
Quote
Quote from: Beztone on Jul 25, 2015, 08:24 AMIt should be

veh.EulerAngle.z = 275.8177;
but now server is not stopping(crashing) but it is not getting car on given angle.....
#48
i am trying to do that if i type getcar car alwasys spawn on a specific angle...but when i use

veh.Angle = 275.8177;
my server stop working....
can anyone tell me the problem and solution...?
#49
Thankx to all for helping but i still dont know why my code was not working ....?
#50
can some one  tell me the problem in my code....cuz i dint get it.....and plz explain it
#51
i want if a player type !fight after 4 seconds he teleport to fight zone
here is my code
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 functions
function 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
please explain the error
#52
oohk got it thank you
#53
how can i get my player's position.....like in 0.3 it was /s now in 0.4 its not working....is it changed or else...?
i have tried it as a cmd

print(">>" + player.Pos);

but itx also not working.....
#54
i think vcmp 0.4 has much changed than 0.3.....i want to learn new rules how can i do that can any one tell me squirrel only related to vcmp 0.4....any link.....?
#55
How to get your position in game like in 0.3 we use /s for it and our position or our car position stores in our pc.....but in 0.4 itx not working is it changed if so whats now...?