Jump to content
Sign in to follow this  
GregRUS

player addaction trouble.

Recommended Posts

Hello.

I'm trying to localize Chernarus Life mission and have a problems with that

One of them is in the next "VIPtarget" string:

player addaction [format [localize "STRS_escort_vip"], "noscript.sqf", "[VIPtarget] join (group player); player groupchat localize "STRS_escort_vip";",1,false,true,"","player distance VIPtarget < 5 and iscop"];

After that next player addaction string doesnt appears in game.. so I think problem is here. Even if I add // before "VIPtarget" string - same problem!?!? :confused:

But when I replacing player groupchat localize "STRS_escort_vip"; with player groupchat "SOME TEXT"; - all works!

Whats the problem??

P.S. Sorry for my poor english xD

Share this post


Link to post
Share on other sites

Try:

 
player addaction [localize "STRS_escort_vip", "noscript.sqf", "[VIPtarget] join (group player); player groupchat localize ""STRS_escort_vip"";",1,false,true,"","player distance VIPtarget < 5 and iscop"];

Share this post


Link to post
Share on other sites
Try:

 
player addaction [localize "STRS_escort_vip", "noscript.sqf", "[VIPtarget] join (group player); player groupchat localize ""STRS_escort_vip"";",1,false,true,"","player distance VIPtarget < 5 and iscop"];

OMG!!! Thank you very much!!! It works for me!!! :yay:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×