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 - Hoss

#1
Support / Re: Vehicle Angle
Sep 03, 2017, 05:19 AM
Quote from: DarkRaZoR^ on Sep 02, 2017, 05:56 PMJust try to identify the angle by player.Angle.

player angle doesn't update when player is inside a vehicle

Quote from: ysc3839 on Sep 03, 2017, 02:20 AMhttp://forum.vc-mp.org/?topic=2304.msg16877#msg16877
Thanks a lot!
#2
Support / Vehicle Angle
Sep 02, 2017, 05:52 PM
Hello, I needed some help with vehicle angles

When i use vehicle.Angle to check a vehicle's angle , i get value in this format: (0.0156597, -0.023772, 0.718616, 0.694825) (x,y,z,w)

but in the CreateVehicle function a single value is required

CreateVehicle( model, world, pos, angle, col1, col2 )

Can someone please tell me what angle to use in CreateVehicle. Thanks!
#3
Support / Re: Bug?-onPickupRespawn
Sep 02, 2017, 03:59 AM
Yes i know we can make a timer to do that. I was wondering if its a bug or i was doing something wrong, Looks like it is a bug..hope it will be fixed soon.
Anyways thanks.
#4
Support / Re: Bug?-onPickupRespawn
Sep 01, 2017, 03:01 PM
Quote from: DarkRaZoR^ on Sep 01, 2017, 01:24 AM
Quote from: Hoss on Aug 31, 2017, 03:15 PM
Quote from: DarkRaZoR^ on Aug 31, 2017, 02:16 PMPost your onPickupRespawn function.

function onScriptLoad()
{
pick <- CreatePickup( 272,1,1,Vector(-680.900,1292.80,13.4768),255,true);
pick.Timer=3000;
}
function onPickupRespawn( pickup )
{
Message("The pickup has respawned!");
}

Took the pickup , pickup respawns as expected but no message appears.

Try setting the pickup isAuto to false.

It's still the same...No message appears.
#5
Support / Re: Bug?-onPickupRespawn
Aug 31, 2017, 03:15 PM
Quote from: DarkRaZoR^ on Aug 31, 2017, 02:16 PMPost your onPickupRespawn function.

function onScriptLoad()
{
pick <- CreatePickup( 272,1,1,Vector(-680.900,1292.80,13.4768),255,true);
pick.Timer=3000;
}
function onPickupRespawn( pickup )
{
Message("The pickup has respawned!");
}

Took the pickup , pickup respawns as expected but no message appears.
#6
Support / Bug?-onPickupRespawn
Aug 31, 2017, 11:04 AM
The function onPickupRespawn is not being called when a pickup respawns