Jump to content

Recommended Posts

Any one can help my with this code that is a name filtering.

script example:

 

_letrasFuRixX = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","ñ","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","Ñ","O","P","Q","R","S","T","U","V","W","X","Y","Z"];
jugadorFu = name player;

{
    
    checkeoFuRixX = [_x, jugadorFu, false] call BIS_fnc_inString;

    if (!checkeoFuRixX) exitWith {
    sleep 2;
   hint "You name is not valid in this server";
   endMission "END1";
    };
} count _letrasFuRixX;

 

The problem is that I need to sparete the name player letter to letter like a string or anything: ["P","e","t","e","r"];

 

 

 

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

×