Raised This Month: $114 Target: $400

[HELP] Catch camera mode text

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Nov 2013
Old 11-18-2017 , 16:35   [HELP] Catch camera mode text
Reply With Quote #1

Any idea how can i catch camera mode messages in TextMsg?
PHP Code:
register_message(get_user_msgid("TextMsg"), "hook_message_event_text"
I want to catch the following and block them
"Free Look"
"First Person"
Been trying, doesn't work
PHP Code:
public hook_message_event_text(iMessageiDestiPlayer)

equal(szMessage"#Free_Look") || equal(szMessage"#First Person"))


Last edited by Depresie; 11-18-2017 at 16:35.
Depresie is offline
Senior Member
Join Date: Jan 2015
Location: Palestine, Hebron
Old 11-19-2017 , 13:40   Re: [HELP] Catch camera mode text
Reply With Quote #2

try this

PHP Code:
if(equal(szMessage"#Spec_Mode1") || equal(szMessage"#Spec_Mode2")) 
bakir123 is offline
Send a message via Skype™ to bakir123

Thread Tools
Display Modes

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 23:53.

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