Raised This Month: $ Target: $400
 0% 

Whats wrong?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
enjoi.
Veteran Member
Join Date: Mar 2011
Old 09-30-2011 , 18:58   Whats wrong?
Reply With Quote #1

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

#define PLUGIN "3RD Person View While Planting"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init()
{
register_plugin(PLUGINVERSIONAUTHOR)

register_event("DeathMsg""Event_DeathMsg""a")
}

public 
plugin_precache()
{
precache_model("models/rpgrocket.mdl")
}

public 
Event_DeathMsg()
{
new 
iVictim read_data(2)

set_view(iVictimCAMERA_NONE)
}

public 
bomb_planting(id)
{
set_view(idCAMERA_3RDPERSON)
}

public 
bomb_planted(id)
{
set_view(idCAMERA_NONE)

When I stop planting the bomb it stays in 3rd person mode. How do I make it so it exits 3rd person mode and goes back to 1st person if you start to plant but discontinue?
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. 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 19:44.


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