Raised This Month: $ Target: $400
 0% 

Scripting Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 11-12-2006 , 18:28   Scripting Help
Reply With Quote #1

Could anyone help me find the errors. I cannot seem to find them. Any suggestions.

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #define PLUGIN "amx_model" #define VERSION "1.01b" #define AUTHOR "Da_sk8rboy" public plugin_init() {          register_plugin(PLUGIN, VERSION, AUTHOR)      register_concmd("amx_model", "cmd_model", ADMIN_SLAY, "<target>") } public cmd_model(id, level, cid) {      if (!cmd_access(id, level, cid, 3))         return PLUGIN_HANDLED cs_set_user_model(players[i], "lobster")         }                }           }      } else {           new player = cmd_target(id, Arg1, 1)           if (!player)           {                console_print(id, "[Model Mod], player %s could not be found or targetted!", Arg1)                return PLUGIN_HANDLED           } else {              cs_set_user_model(player, "lobster")           }      }        return PLUGIN_HANDLED          } public plugin_precache() {      precache_model("models/player/lobster/lobster.mdl") }
__________________
i stop around here and there.

Last edited by Da_sk8rboy; 11-12-2006 at 20:55.
Da_sk8rboy is offline
 


Thread Tools
Display Modes

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


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