I got this idea for a frist script something that would start me up on the scripting community. i've got the idea but i have no idea on how to start it.
basicly i want to make it so that at each new round players are droped down at 1hp and they are given a scout with full ammo. basicly a one shot kill server. here is what i got so far...
Code:
/*
One shot kill, for Amx Mod X
Created by DarlD
*/
#include <amxmodx>
#include <fun>
#include <cstrike>
public plugin_init() // im starting my plugin here
{
register_plugin("One shot kill","0.1","DarlD")
thats as far as i could go
EDIT: i think i made some progress but im almost sure i made errors!
Code:
/*
One shot kill, for Amx Mod X
Created by DarlD
*/
#include <amxmodx>
#include <fun>
#include <cstrike>
public plugin_init() // im starting my plugin here
{
register_plugin("One shot kill","0.1","DarlD")
register_cvar("amx_oneshot","1","1","1","1",1")
}
set_user_health(1,1)
give_item(32,weapon_scout)
give_item(32,ammo_scout)