Raised This Month: $51 Target: $400
 12% 

Solved Only if in spec


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode