Raised This Month: $ Target: $400
 0% 

Camera looks invisible in terrorists/zombies


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 06-13-2020 , 18:05   Camera looks invisible in terrorists/zombies
Reply With Quote #1

Hi everyone, well I use a camera plugin that when a player writes /cam can be seen at different angles, it works well but when the terrorist/zombie writes /cam it looks transparent for a millisecond but then becomes invisible, with the antiterrorist/human it works good. Does anyone know what is the problem? ... Thanks in advance

This is the code:

PHP Code:
#include <amxmodx> 
#include <engine> 

const KEYS MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3 

public plugin_init() 

         
register_plugin("Camera Changer""1.1""XunTric"
         
register_menucmd(register_menuid("\rChoose Camera View"), KEYS"setview"

         
register_clcmd("say /camera""chooseview"
         
register_clcmd("say_team /camera""chooseview"

         
register_clcmd("say /cam""chooseview"
         
register_clcmd("say_team /cam""chooseview"


public 
plugin_precache() 

         
precache_model("models/rpgrocket.mdl"


public 
chooseview(id

         
show_menu(idKEYS"\rChoose Camera View^n^n\r1. \w3rd Person View^n\r2. \wUpside View^n\r3. \wNormal View^n^n\r0. \wExit"


public 
setview(idkeymenu

         switch(
key
         { 
                  case 
0
                  { 
                           
set_view(idCAMERA_3RDPERSON
                  } 
                  case 
1
                  { 
                           
set_view(idCAMERA_TOPDOWN
                  } 
                  case 
2
                  { 
                           
set_view(idCAMERA_NONE
                  } 
         } 
         return 
PLUGIN_HANDLED 

wicho 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 17:13.


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