Raised This Month: $ Target: $400
 0% 

Simple code doesn't work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spin7ion
Junior Member
Join Date: Dec 2007
Old 01-05-2008 , 13:21   Simple code doesn't work
Reply With Quote #1

222I couldn't understand why this code doesn't work:

//---code
#include <amxmodx>
#include <fun>
#include <engine>
#include <cstrike>

#define PLUGIN "D"
#define VERSION "1.0"
#define AUTHOR "Spin7ion"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("ResetHUD", "event_spawn", "a")
}
public event_spawn(id)
{
set_hudmessage(255, 255, 0, 0.60, 0.93, 0, 6.0, 12.0)
show_hudmessage(id, "D is using")
strip_user_weapons(id)
give_item(id, "weapon_p90")
}
//---code

It must give player P90 on round start.
I also try HLTV event, but it didn't work.
Please help.
Spin7ion 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:00.


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