AdvancedTowing icon indicating copy to clipboard operation
AdvancedTowing copied to clipboard

This mod for "life" mod

Open tekniks58 opened this issue 9 years ago • 9 comments

Hello,

I going to you for a question, it's possible to recreate ou modify this mod for a "life" mod, a set this for class players ( for exemple policeman ).

This is a really great mod and very RP.

Thanks in advance for your help!

tekniks58 avatar Apr 14 '16 21:04 tekniks58

Do you know the actual class names of the units? (E.g. B_soldier_repair_F)

sethduda avatar Apr 14 '16 21:04 sethduda

No but it's just to set this for the work (e.g. policeman ) don't need "B_soldier_repair_F" and i just want a compatibilities for altis life mod because i don't want set for only work, i want to anyone use tow vehicules but your mod does not function in altis life mod.

But in the futur maybe use the function for set this for only work.

tekniks58 avatar Apr 14 '16 23:04 tekniks58

I'm confused - does this addon not work on life? or does it work, but you want to restrict the ability to tow to only cops?

sethduda avatar Apr 14 '16 23:04 sethduda

yes i want to restrict the ability to tow to only cops or repairman or another work

tekniks58 avatar Apr 14 '16 23:04 tekniks58

Do you know how to identify via scripting if a player is a copy or repairman?

sethduda avatar Apr 15 '16 15:04 sethduda

hi ! Nice script ! i install it only for Independent player (medic and repair man on my server), so i add this a the beggining of the scrypt

if(playerSide == independent) then {

and at the end

};

and it stop working :/ But if i remove that, the scrypt is ok. Any idea ? thank you :) (Sorry bad english, french baguette :D)

Amnezyk avatar Jul 01 '16 19:07 Amnezyk

That won't work. Try add adding the playerSide check in the if statement on line 789.

e.g.

if(!isNull player && isPlayer player && playerSide == independent) then {

sethduda avatar Jul 02 '16 03:07 sethduda

Thank you, i try and i come back to say if it's work !

Amnezyk avatar Jul 02 '16 15:07 Amnezyk

Work ! Thank you :) Better script than Igiload !

Amnezyk avatar Jul 02 '16 16:07 Amnezyk