Command message weird/messed up
#1

Solved
Reply
#2

Just learn how to use sscanf, it's the same problem as your previous topic and the same solution:

Consider learning the basics first before you jump into this stuff. Just like you need to learn how to use a hammer before you start building a house, right?

pawn Код:
new id, reason[64]
(sscanf(params, "us[64]", id, reason))
Reply
#3

I have tried your method even though you was an ass. Still breaks the server. Still all the same bugs.
Reply
#4

You don't writed in your code all parameters. You said, for example, in kick & ban command only 1 parameter.
Reply
#5

I removed the sscanf part on one of the kick command and it kicks me when I put no id's or an id.
Reply
#6

of course, you created a new variable (with automatically gets the value '0'), you don't use sscanf anymore to assign a playerid to that variable so if you kick the player 'variable' it will kick playerid 0.
Reply
#7

You need to add at least one class to solve the world bounds bug.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)