Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Player becomes admin when registers(MYSQL)
OsteeN
Big Clucker
Posts: 91
Threads: 2
Joined: Dec 2012
Reputation:
0
#4
23.11.2014, 16:47
Quote:
Originally Posted by
]Rafaellos[
With the same ID not IP. To fix it, reset all variables when aplayer joins the server. Example:
pawn Код:
//OnPlayerConnect
pInfo
[
playerid
]
[
Admin
]
=
0
;
pInfo
[
playerid
]
[
Money
]
=
0
;
Or just set them to the new players info once he logs in, he could use something like pInfo[playerid][loggedIn] to check if he should set them yet or alike.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Player becomes admin when registers(MYSQL)
- by
FunnyBear
- 23.11.2014, 16:28
Re: Player becomes admin when registers(MYSQL)
- by
OsteeN
- 23.11.2014, 16:36
Re: Player becomes admin when registers(MYSQL)
- by
]Rafaellos[
- 23.11.2014, 16:41
Re: Player becomes admin when registers(MYSQL)
- by
OsteeN
- 23.11.2014, 16:47
Re: Player becomes admin when registers(MYSQL)
- by
DaniceMcHarley
- 23.11.2014, 17:19
Re: Player becomes admin when registers(MYSQL)
- by
Mauzen
- 23.11.2014, 17:24
Re: Player becomes admin when registers(MYSQL)
- by
FunnyBear
- 23.11.2014, 17:32
Re: Player becomes admin when registers(MYSQL)
- by
DaniceMcHarley
- 23.11.2014, 17:36
Re: Player becomes admin when registers(MYSQL)
- by
denNorske
- 23.11.2014, 19:18
Re: Player becomes admin when registers(MYSQL)
- by
FunnyBear
- 23.11.2014, 20:56
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help