Raised This Month: $ Target: $400
 0% 

Dont see the error.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
strizerdragon
Junior Member
Join Date: Apr 2005
Old 04-16-2005 , 16:49   Dont see the error.
Reply With Quote #1

I have a prob , the code will compile but if i use it ingame it shuts the game off .
Can you guys see a error ?




Code:
#include <amxmodx> #include <fun> #include <amxmisc>   #include <cstrike> #include <engine> #include <amxmod>   public plugin_init() {     register_clcmd("ascend_x","spawn_sprite")     register_plugin("ascend_x","1.0 beta","Strizer")           return PLUGIN_CONTINUE }   new theSprite;    public plugin_precache(){    theSprite = precache_model("sprites/haha.spr"); } public spawn_sprite(id){          new spriteorigin[3];    get_user_origin(id,spriteorigin);    set_view(id, CAMERA_3RDPERSON)      message_begin(MSG_BROADCAST,SVC_TEMPENTITY);    write_byte(500);    write_coord(spriteorigin[0]);        write_coord(spriteorigin[1]);    write_coord(spriteorigin[2]);    write_short(theSprite);        write_byte(20);          write_byte(200);    set_view(id, CAMERA_NONE)    message_end(); }
strizerdragon is offline
Send a message via MSN to strizerdragon Send a message via Yahoo to strizerdragon
 



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 09:51.


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