/////////////////////////////////
//SurfPro By !ScriptNerd!       /
//Version 2.0                   /
//I'm On My Way To Set Up 3.0   /
////////////////////////////////


//if you want you can change the settings but my tip is to copy everything to a new txt file and the change the settings.
//you can for example change wich weapon you spawn with and so on


event player_death
{
//removes weapon (if it's off it could make your server laggy)
//respawn when dead
es est_spawn event_var(userid) [FORCE]
//removes corpse of the dead player
 es est_DeleteRagdolls event_var(userid)
}

event round_start
{
//gives a message at round start ("[SurfPro] This Server Is Running SurfPro!")
es_xmsg #multi #green[SurfPro] #lightgreenThis Server Is Running SurfPro!
//gives a message at round start ("[SurfPro] BackToDead And One_Of_2_Nr_2 Is The Current Admins, Respect Them Well!")
//remove this 2 names and write your user name other wise everybody will think that BackToDead and one_of_2_nr2 is the admins! 
es_xmsg #multi #green[SurfPro] #lightgreenBackToDead And One_Of_2_Nr_2 Is The Current Admins, Respect Them Well!
//sets perfect surf options
sv_gravity 700
sv_airaccelerate 9999
}

event player_spawn
{
//gives player deagle instead of glock or ump
es est_removeweapon event_var(userid) 2
es_give event_var(userid) weapon_deagle
{
//spawn protection
es est_God event_var(userid) 1
es est_setplayercolor event_var(userid) 255 61 65  71 1 
{
es_delayed 15 est_God event_var(userid) 0
es_delayed 15 est_SetPlayerColor event_var(userid) 255 255 255 255 1
{
event player_death
{
if (event_var(weapon) equalto awp) do
{
//gives m3/unlimited ammo and 900hp to player if they was killed by a awp noob
es_give event_var(userid) weapon_m3
est_setammo event_var(userid) weapon_m3 999999
es est_sethealth event_var(userid) 900
es_xmsg #multi #green[SurfPro] #lightgreenIf You Get Killed By A Awp Noob You Get 900HP And M3 With Unlimited Ammo!
}
