Read name from table and put into '/' - OnPlayerCommand
#8

Okey so.

-cut-

It works but when i type for example /teles, /kick or other it's sending me a PlayerPlaySound.. any ideas how to fix it? I tried.. Because when i type if(success) reading teleport with stop.

I understand what i wrote because it's.. if(!success) then command will create for teleport but if command is true (defined) sound will play.. but i don't have any idea..

edit://
Am.. i don't think so there's other way to fix it than if(!success)PlayerPlaySound and other code under. It will just send sound when player type teleport name.

Topic - lock.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)