Raised This Month: $ Target: $400
 0% 

amx_jesus


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[KTA] KeItO
Member
Join Date: Aug 2005
Old 08-27-2005 , 23:19   amx_jesus
Reply With Quote #1

Hey, here is waht I have so far.

Code:
#include <amxmodx> #include <fun> public plugin_init() (     register_plugin("Amx-Jesus","0.1","KeItO")     register_concmd("amx_jesus","set_user_health""set_user_footsteps""set_user_gravity",ADMIN_BAN," user Is turned into jesus") )

I need to know how to make it so when you type amx_jesus (id) it will do all those to a user??

Im really new to codeing. I need a mentor. lol
[KTA] KeItO is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-27-2005 , 23:28  
Reply With Quote #2

Code:
#include <amxmodx> #include <fun> #include <amxmisc> public plugin_init() {     register_plugin("Amx-Jesus","0.1","KeItO")     register_concmd("amx_jesus","jesus",ADMIN_BAN," <name> - user is turned into Jesus") } public jesus(id,level,cid) {     if(!cmd_access(id,level,cid,2))     {         return PLUGIN_HANDLED     }           new arg[32]     read_argv(1,arg,31)     new player = cmd_target(id,arg,1)         if (!player)     {         return PLUGIN_HANDLED     }         set_user_health(player,99999)     set_user_footsteps(player,0)     set_user_gravity(player,0.2)         new name[32]     get_user_name(player,name,31)     client_print(0,print_chat,"[AMXX] %s is now Jesus",name)         return PLUGIN_HANDLED }

Something like that?
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
[KTA] KeItO
Member
Join Date: Aug 2005
Old 08-27-2005 , 23:31  
Reply With Quote #3

Your my hero. I love you. Ill add you to my helper list. LoL do you have aim??
[KTA] KeItO is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-28-2005 , 00:23  
Reply With Quote #4

I do ;]
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Reply



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 14:25.


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