String Help
#1

Complete.
Reply
#2

This won't fix your problem, but:

if (strcmp("/kill", cmdtext, true, 10) == 0)

Remove the "10".

Only use this is your using parameters.

Otherwise you can type /killfcbjhkdvjhb and it be a cmd.
Reply
#3

Quote:
Originally Posted by Mikeshake
This won't fix your problem, but:

if (strcmp("/kill", cmdtext, true, 10) == 0)

Remove the "10".

Only use this is your using parameters.

Otherwise you can type /killfcbjhkdvjhb and it be a cmd.
Ahh Yeah, don't worry, I know that, I just leave it due to the fact that I cba sometimes
Reply
#4

Sorry for being impatient, but I can't carry on scripting without solving this
Reply
#5

pawn Код:
new name[MAX_PLAYER_NAME];
?
Reply
#6

Quote:
Originally Posted by JeNkStAX
pawn Код:
new name[MAX_PLAYER_NAME];
He is better off using that in my opinion but I tested this and the message works. I only changed one thing which has was covered yesterday in another topic.

Quote:
Originally Posted by kaisersouse
dcmd for the win
I have to agree with that as I use it myself.

繁體中文版
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)