Raised This Month: $ Target: $400
 0% 

Halo Vs Predator


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
genesis
Senior Member
Join Date: Oct 2004
Location: CALIFORNIA, USA
Old 05-15-2005 , 04:39  
Reply With Quote #6

sorry a few small road blocks ... no errors or warnings on offline compiler
just because it has no compile errors doesn't guarantee no runtime errors or that it even does what is intended. But logistically it looks sound, I haven't tested it at all though.

Code:
// HALO vs PREDATOR MOD // by Front Line // Night scream helped with editing code // Genesis Cleaned up the code MAJORLY #include <amxmodx> #include <amxmisc> #include <cstrike> #include <fun> public plugin_init() {     register_plugin("Halo vs Predator", "0.1", "Front Line")     register_event("ResetHUD", "resetModel", "b") } public plugin_precache() {     precache_model("models/player/p_terror/p_terror.mdl")     precache_model("models/player/p_arctic/p_arctic.mdl")     precache_model("models/player/p_leet/p_leet.mdl")     precache_model("models/player/p_guerilla/p_guerilla.mdl")     precache_model("models/player/h_gsg9/h_gsg9.mdl")     precache_model("models/player/h_urban/h_urban.mdl")     precache_model("models/player/h_sas/h_sas.mdl")     precache_model("models/player/h_gign/h_gign.mdl")     precache_model("models/player/masterchief/masterchief.mdl") } public resetModel(id) {     new usermodel[33]     cs_get_user_model(id, usermodel, 32)         if(cs_get_user_team(id) == CS_TEAM_CT)     {         if(equali(usermodel, "GSG9"))         {             client_print( id, print_chat, "Welcome private, prepare for battle." )             cs_set_user_model(id, "h_gsg9")         }         else if(equali(usermodel, "GIGN"))         {             client_print( id, print_chat, "Search and destroy all Predators" )             cs_set_user_model(id, "f_gign")                 }         else if(equali(usermodel, "URBAN"))         {                     client_print( id, print_chat, "Use the allied forces to protect the motherland." )                     cs_set_user_model(id, "h_urban")         }         else if(equali(usermodel, "SAS"))         {                         client_print( id, print_chat, "Welcome private, prepare for battle." )                         cs_set_user_model(id, "h_sas")         }         else if(equali(usermodel, "VIP"))         {             client_print( id, print_chat, "Rescue the commander, Move out!" )             cs_set_user_model(id, "masterchief")         }         set_user_armor(id,200)         set_user_health(id,125)         set_user_maxspeed(id,Float:350)     }     else if(cs_get_user_team(id) == CS_TEAM_T)     {         if(equali(usermodel, "TERROR"))         {             client_print( id, print_chat, "Moveout and disinerate the humans" )             cs_set_user_model(id, "p_terror")         }         else if(equali(usermodel, "ARCTIC"))         {             client_print( id, print_chat, "Use your camoflage in the snow" )             cs_set_user_model(id, "p_arctic")         }         else if(equali(usermodel, "GUERILLA"))         {             client_print( id, print_chat, "Don't allow the allys to recapture the land!" )             cs_set_user_model(id, "p_guerilla")     }         else if(equali(usermodel, "LEET"))         {             client_print( id, print_chat, "Seek 'n' Destory the humans!" )             cs_set_user_model(id, "p_leet")         }         set_user_armor(id,75)         set_user_health(id,175)         set_user_maxspeed(id,Float:200)     }     return PLUGIN_CONTINUE }
__________________
CS 1.6 cali.radclan.net:27015
I have a feeling we're not in cs anymore.
I take pride that all my AMXX plugins were writen in notepad.
genesis 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 16:38.


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