Help with admin name system
#1

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
pawn Код:
aName[24]
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. ))
Reply
#2

eestlasi on ka ?
Reply
#3

Ikka.
Help still needed.
Reply
#4

[Nдita errori logi]

Show Error Log
Reply
#5

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)
Reply
#6

Buuump!
Reply
#7

Anyone?
Reply
#8

Yes! i can! Just script this one in other way!
Reply
#9

Well how!?
Reply
#10

Show the server log when the debug crashes.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)