set playername to db stored name.
Hey guys, i am pretty new to small and need a little help and i really hope you can help me.
I got a small plugin wich only allows players registred in my db to play on my server and the signup is done by entering this site www.keep-gaming.com. I want my server to automaticly set the username to the stored in my db when the user join and then disallow them to change it. So my username will be stored_db_name + [Level] (ex. Exceed [Level #5]) thanks for your help. And sorry for my english |
Re: set playername to db stored name.
name[id] = get_user_name(id,name,31)
name2[id] = "%s [Level #%s]", userName, userLevel if (name[id] != name2[id]) { client_cmd(id , "name ^"%s [Level #%s]^"", userName,userLevel) } but when i run it i get theese errors. /home/groups/amxmodx/tmp3/php3EXQuU.sma(167) : error 006: must be assigned to an array /home/groups/amxmodx/tmp3/php3EXQuU.sma(167 -- 168) : warning 215: expression has no effect |
| All times are GMT -4. The time now is 16:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.