Again me
#1

Hey guys again me

listen why on my server /killdsadasdasfas is the same like /kill

Can you help me ? how to make like /kill a invalid command :P
Reply
#2

Look through your script for the command "/kill" or "/killdsadasdasfas" and remove them from your script (from the part where it says 'if(strcmp(...)' to the final bracket in the clause of code.
Reply
#3

just delete it D:
Reply
#4

i didnt get it

i cant find answer to this question nowhere and i think ive posted this question wrong :

How to make /killdsadasas invalid or like if i have a command lets say /para ... /parasalsl does teh same thing as only /para does... it doesnt matter what i add after /para i get the same result
Reply
#5

ehem, so ?
Reply
#6

If you're using something that is like zcmd or dcmd (whatever it's called), then just search for "kill." Check your filter scripts and any other add-ons you have.
Reply
#7

Probably you have something like this:
pawn Код:
if(!strcmp("/kill", cmdtext, true, 5))
{
    SetPlayerHealth(playerid, 0.0);
}
Notice the '5' in the if-statement. This will only compare the first 5 characters, hence /killfoobar is the same as /kill. Remove that 5 and the preceding comma and it should be fixed.
Reply
#8

FIXED, ty mates !!!
Reply
#9

again, a new prob.

i have luxadmin and when i put my passa nd do REGISTER my console CRASHES ...
Reply
#10

meaning script = fail
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)