11.07.2016, 03:09
(
Последний раз редактировалось yutaruta; 11.07.2016 в 05:36.
Причина: Explain the command
)
Hi friends, i'm having a trouble with a command...
I scripted a gang system for my server, i write it and tested it on my localhost ubuntu server. The code works great, no problem here.
The trouble is when i upload the gamemode to the hosting, the command does not work.
It sends the "UNKNOWN COMMAND" message, but a custom that i put on OnPlayerCommandPerformed.
The code is the same, the database is the same, the plugins are the same that i have on my local server.
I can't found the problem.
In my local server i used the "mysql_static.so" plugin. On the hosting server, this plugin does not load correctly, so i have to use "mysql.so" instead. Can this be the problem?
Here is the command:
The command gets the gang id of the player, then gets all users from database who have the same gang id, and do a loop of all this users to put his information on a string, then display all the user list on a dialog
I scripted a gang system for my server, i write it and tested it on my localhost ubuntu server. The code works great, no problem here.
The trouble is when i upload the gamemode to the hosting, the command does not work.
It sends the "UNKNOWN COMMAND" message, but a custom that i put on OnPlayerCommandPerformed.
The code is the same, the database is the same, the plugins are the same that i have on my local server.
I can't found the problem.
In my local server i used the "mysql_static.so" plugin. On the hosting server, this plugin does not load correctly, so i have to use "mysql.so" instead. Can this be the problem?
Here is the command:
Код:
SOLVED