Another Problem
#1

Hi guys
i use grandlarceny and i am looking for some filterscripts.
ok i got one now i have got its pwn now i compiled no errors copied and pasted in filterscripts
server.cfg opened and typed the name there and now in game
"Unknown Command"
what the f is this?
need help
Reply
#2

no errors? do you get warnings?
Reply
#3

Quote:
Originally Posted by Xaad
Посмотреть сообщение
Hi guys
i use grandlarceny and i am looking for some filterscripts.
ok i got one now i have got its pwn now i compiled no errors copied and pasted in filterscripts
server.cfg opened and typed the name there and now in game
"Unknown Command"
what the f is this?
need help
This problem is caused because one of the script has ZCMD and the other one uses strcmp, you can't use two command processors together
Reply
#4

No warning i said
Reply
#5

Quote:
Originally Posted by Flamehaze7
Посмотреть сообщение
This problem is caused because one of the script has ZCMD and the other one uses strcmp, you can't use two command processors together
so how to use only one i mean how to delete strcmp?
Reply
#6

anything on server log?
Reply
#7

Quote:
Originally Posted by Xaad
Посмотреть сообщение
so how to use only one i mean how to delete strcmp?
include <zcmd> on your script and then switch your commands to ZCMD

example:

Код:
if(strcmp("/hello",cmdtext, true) == 0)
{
//
return 1;
}
it becames

Код:
CMD: hello(playerid,params[])
{
//
return 1;
}
Reply
#8

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
anything on server log?
Nope
Reply
#9

Thank You Flamehaze fixed =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)