30.05.2013, 16:27
Achei algumas coisas que lhe ajudara!
#Edit
Em vez de params e cmdtext
Quote:
pawn Код:
|
Quote:
If your code isnt tested, you shouldnt post it. Those commands wont work correctly! Not only are specifying the wrong length to the strcmp function (10 for both, which neither equal 10!), but your passing the entire cmdtext string to sscanf, which includes the original command.
pawn Код:
Remember to always update the strcmp length parameter (should be the lenght of the command) and the index for cmdtext (should be the length of the command + 1) if you change the name of the command. |
#Edit
Em vez de params e cmdtext