What happen?
#1

Hello. I compiled my pwn find, I didn't get any errors or warnings. I join my server but when i type any command it says it is unknown for the server. Any conclusions ?
Reply
#2

what commands do you use: exemple ZMCD, DCMD or strcmp + strok
Reply
#3

Ohh I found.. It was with zcmd.inc . Don't know why. I really need zcmd for the animations meyby its old?
Reply
#4

Make sure that you added a return 1; in the end of every command.
Reply
#5

be sure is like this

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/command1", cmdtext, true, 10) == 0)
{
//Something Here
return 1;
}
if (strcmp("/command2", cmdtext, true, 10) == 0)
{
//Something Here
return 1;
}
return 0;
}
Reply
#6

It is dialog.

http://pastebin.com/yMZyBdBM

It is my code.
Reply
#7

The problem is that: if you use strmp + strok and zcmd, you bug your GM...idk the reason yet, but it happened to me too
Reply
#8

Thank for help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)