Posts: 24
Threads: 6
Joined: Jul 2010
Reputation:
0
I saw in a server once where you can lift cars with the tow truck , any idea how to do that ?
Posts: 24
Threads: 6
Joined: Jul 2010
Reputation:
0
Can you give an example of how it should look ?
Posts: 560
Threads: 32
Joined: Aug 2010
Reputation:
0
OnPlayerKeystatechange
if(newkeys & KEY_FIRE)
{
if(GetPlayerVehicleID(playerid) == Your tow truck id)
{
AttachTraielrToVehicle(...
}
}
also you will need to check which is closest car
Posts: 24
Threads: 6
Joined: Jul 2010
Reputation:
0
yeah..fixed it but what I ment was it correctly ?