AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   show message only once to player (https://forums.alliedmods.net/showthread.php?t=228668)

avril-lavigne 10-24-2013 16:29

show message only once to player
 
Does someone have script to store all connected names/ ips and check if player was connected before
and do nothing.

I want to show message to player once and remember his steamid/ip (* in .txt ) to prevent showing message second time even after server restart/crash

I know there are a lot of similar scripts reading from txt but not steam/ip/name ?

mottzi 10-24-2013 16:36

Re: show message only once to player
 
This is asked and answered many times before. Search.

tonykaram1993 10-25-2013 13:29

Re: show message only once to player
 
Search for plugins that store the steam ids of certain players.

Blizzard_87 10-26-2013 18:05

Re: show message only once to player
 
use nVault pretty simple way to store players Steam Ids and check them against the message shown..

use a Boolean and make it true after player has viewed the message then save it in nvault then check the steamid on player putinserver forward so it doesnt spam the client_connect forward.


All times are GMT -4. The time now is 23:14.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.