gamemode problem
#1

hi guys im having a problem i added a zcmd command to my gamemode and it compiled fine but when i type a strcmp command example "/login" it says invalid commands. Any Help?
Reply
#2

it could be if you are using multiple command systems in a same script and unorganized, you know... thought im not a ZCMD user.
anyways, you can post the command?
Reply
#3

Change:
pawn Code:
public OnPlayerCommandText(playerid,cmd[])
To:
pawn Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
Reply
#4

thanks it makes all the strcmp commands work, but the zcmd commands dont work in game?
Reply
#5

Quote:
Originally Posted by vlastikczech
View Post
thanks it makes all the strcmp commands work, but the zcmd commands dont work in game?
If you are returning 0 try returning 1.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)