Thread: [Solved] Only if in spec
View Single Post
Author Message
blAck.
Member
Join Date: Jun 2018
Old 08-12-2018 , 13:48   Only if in spec
Reply With Quote #1

I wanted to make that player can only execute some command if he is in spectate and I did this:
Code:
    new iTeam = get_user_team(id);     if(iTeam == 1 || iTeam == 2) {         client_print(id, print_chat, "You have to be in spec!");         return PLUGIN_HANDLED;     }
That works fine but there is one problem.

When I'm in TT and I transfer to CT, while I'm transfering (while I'm in free look), i CAN execute that command. Please help

Last edited by blAck.; 08-12-2018 at 14:15.
blAck. is offline