Search the Community
Showing results for tags 'furix'.
Found 2 results
-
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"];
-
Hi I wanna to do a BadWords script so i need a code that check if any word are in the message Example code: _badwords = ["Bitch", "Fuck", "Fuck You"]; _message = "You are a Bitch"; //(imagine that this message was recover in a dialog that was the chat). // next code is the wrong if (_message in _badwords) then { hint "You said a bad word"; }; // 😧 that cant becouse to give true need that the badword contain all the message, is imposible so any can help me? Pd: thats not the code, this is and example, sorry if the code is very wrong but im writing in my iPhone the script :,o