Kosolov325
Recruit
Its possbile to take information by client chat? (I'm using WSE)
(i'm creating a door/house owner system)
I'm trying to get a message sent by the player and save in a string to check if that "text" has a player name (Otherwise i will create a menu, but i don't like this idea, because i dont know how to do it only by server-side)
(i'm creating a door/house owner system)
I'm trying to get a message sent by the player and save in a string to check if that "text" has a player name (Otherwise i will create a menu, but i don't like this idea, because i dont know how to do it only by server-side)
Code:
(else_try),
(str_contains, s0, "@/setkeys {s22} {s23}"),
(str_contains, s22, ":other_agent_id"),
(gt, ":player_is_closer", 0),
(player_set_slot, s22, slot_player_door_key, s23),
(multiplayer_send_string_to_player, s22, server_event_script_message, "@Admin {s1} gived you the keys of {s22} door"),