Help with admin name system - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with admin name system (
/showthread.php?tid=396689)
Help with admin name system -
tsonn1 - 01.12.2012
Hi guys!
I need help with my admin name system.
The problem is, that every time, I want to switch my name to my admin name, the server crashes.
Anyway, here's the code parts:
The part under PlayerInfo
The MySQL fetching
pawn Код:
mysql_fetch_field_row(Field,"aName"), PlayerInfo[playerid][aName] = strval(Field);
The part under the AOD command
pawn Код:
SetPlayerName(playerid, M2ngijaInfo[playerid][aNimi]);
Hope to get help soon.
(( Translated from Estonian.
))
Re: Help with admin name system -
Baumann - 01.12.2012
eestlasi on ka ?
Re: Help with admin name system -
tsonn1 - 02.12.2012
Ikka.
Help still needed.
Re: Help with admin name system -
James Coral - 02.12.2012
[Nдita errori logi]
Show Error Log
Re: Help with admin name system -
tsonn1 - 02.12.2012
Logi siis/Here's the log
pawn Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e-R2, (C)2005-2012 SA-MP Team
[11:10:04] filterscripts = "" (string)
[11:10:04]
[11:10:04] Server Plugins
[11:10:04] --------------
[11:10:04] Loading plugin: sscanf
[11:10:05]
[11:10:05] ===============================
[11:10:05] sscanf plugin loaded.
[11:10:05] (c) 2009 Alex "******" Cole
[11:10:05] 0.3d-R2 500 Players "dnee"
[11:10:05] ===============================
[11:10:05] Loaded.
[11:10:05] Loading plugin: mysql
[11:10:05]
> MySQL plugin R5 successfully loaded. // Actually R6
[11:10:05] Loaded.
[11:10:05] Loaded 2 plugins.
[11:10:05]
[11:10:05] Ban list
[11:10:05] --------
[11:10:05] Loaded: samp.ban
[11:10:05]
[11:10:05]
[11:10:05] Filterscripts
[11:10:05] ---------------
[11:10:05] Loaded 0 filterscripts.
[11:10:05] RP sisselьlitatud
[11:10:05]
[11:10:05] RP v1.0
[11:10:05] _____________________________
[11:10:05]
[11:10:05] Number of vehicle models: 9
[11:10:34] Incoming connection: 192.168.1.150:57241
[11:10:35] [join] Arendaja_Arendaja has joined the server (0:192.168.1.150)
Re: Help with admin name system -
tsonn1 - 02.12.2012
Buuump!
Re: Help with admin name system -
tsonn1 - 03.12.2012
Anyone?
Re: Help with admin name system -
dr.lozer - 03.12.2012
Yes! i can! Just script this one in other way!
Re: Help with admin name system -
tsonn1 - 03.12.2012
Well how!?
Re: Help with admin name system -
Faisal_khan - 03.12.2012
Show the server log when the debug crashes.