Raised This Month: $ Target: $400
 0% 

set_view crashes my server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BigDontCry
Member
Join Date: Nov 2007
Location: Sweden
Old 11-30-2007 , 16:20   set_view crashes my server
Reply With Quote #1

Hi. I'm just playing around a little with all the different stuff you can do with the engine module....

I made this:

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

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "."


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
}

public 
client_putinserver(id) {
    
    if(!
is_user_bot(id) && !is_user_hltv(id)) {
        
set_view(idCAMERA_3RDPERSON)
    }

But whenever I try to connect to the server it crashes, but I can't see the problem with this code; it should work, right?
__________________
Big Men Don't Cry

Quote:
[20:23] [email protected]: I don't know how
[20:23] [email protected]: I'm only 15
[20:23] [email protected]: I don't know anything
BigDontCry 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 11:04.


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