FuRixX Lamborghini 0 Posted August 28, 2019 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
stanhope 411 Posted August 28, 2019 https://community.bistudio.com/wiki/splitString is what you're looking for. But I suggest using battleye for this instead of a script in your mission. Share this post Link to post Share on other sites
FuRixX Lamborghini 0 Posted August 28, 2019 10 hours ago, stanhope said: https://community.bistudio.com/wiki/splitString is what you're looking for. But I suggest using battleye for this instead of a script in your mission. Thanks bro Share this post Link to post Share on other sites