I corrected that error, but still the message is displayed.
Also I give access this way:
PHP Code:
new flags = read_flags("u");
set_user_flags(player, flags);
client_print(player, print_chat, "%s You now have access. Enjoy!", Prefix);
client_print(id, print_chat, "%s %s has access now.", Prefix, szPlayerName);
It gives the player U flag and when he reconnects he no longer has access - which is perfect for me,
but when I give acces and the player doesnt reconnect and just stays in the server he has access for random time from 2 to 10 minutes and then it dissappears (the access). How can I make it only when he leaves the server to take his given access?
EDIT: I tried removing the is user alive, and now It says that it gives ME access to the menu and I already got access at the same time