My server keeps crashing everytime I join
#1

Hello guys!
As I said in the title my server keep crashing everytime I join it.
I've added this gang system and it keeps crashing
https://pastebin.com/Lm0MMT78
The log shows that i've connected but not the reason why it crashed, I have nativechecker and crashdetector but they don't help in that situation. Please help me
Reply
#2

Do you have the required directory (Gangs/Players/) inside scriptfiles folder?
Reply
#3

Quote:
Originally Posted by Fratello
Посмотреть сообщение
Do you have the required directory (Gangs/Players/) inside scriptfiles folder?
No, I haven't but I've created the directory and now the commands are invalid.
If I use strcmp for these commands not zcmd is that problem?
Reply
#4

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
No, I haven't but I've created the directory and now the commands are invalid.
If I use strcmp for these commands not zcmd is that problem?
What do you mean by commands are invalid?
Reply
#5

Quote:
Originally Posted by Fratello
Посмотреть сообщение
What do you mean by commands are invalid?
change your:
Код:
#define fs
//and all comands exemple: 
if (strcmp(cmd, "/gang", true) ==0 )
on
Код:
#define FILTERSCRIPT
if (strcmp("/gang", cmd, true, 10) == 0)
Reply
#6

Quote:
Originally Posted by ForCop
Посмотреть сообщение
change your:
Код:
#define fs
//and all comands exemple: 
if (strcmp(cmd, "/gang", true) ==0 )
on
Код:
#define FILTERSCRIPT
if (strcmp("/gang", cmd, true, 10) == 0)
But its not filterscript, I've added it to my gm soo
Reply
#7

Now the commands wont work again with these both methods
Reply
#8

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
Now the commands wont work again with these both methods
do not put filterscript on gamemode..
Reply
#9

Quote:
Originally Posted by ForCop
Посмотреть сообщение
do not put filterscript on gamemode..
I want to make a gang system but I don't know how. Can you give me some tutorials or?
Reply
#10

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
I want to make a gang system but I don't know how. Can you give me some tutorials or?
you can try this http://forum.sa-mp.com/showthread.ph...ht=gang+system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)