Posts: 250
Threads: 41
Joined: Oct 2010
Reputation:
0
Hi,
How can i make a script where when they teleport to a place, they can't use any commands.
I'm using dcmd.
Thanks
Posts: 250
Threads: 41
Joined: Oct 2010
Reputation:
0
Thanks, but it doesn't 'un-disable' it?
I tried doing UseCMD[playerid] = true; but doesn't work :S
Posts: 250
Threads: 41
Joined: Oct 2010
Reputation:
0
Thanks for that. I understand. But since I'm using DCMD I used OnPlayerCommandText instead of OnPlayerCommandReceived and set it to return 1.
Thats okay right?
Posts: 229
Threads: 21
Joined: Apr 2012
Reputation:
0
Yes you doing correct. OnPlayerCommandRecieved is only available with ZCMD or YCMD
and also the return 1; is correct