Raised This Month: $ Target: $400
 0% 

scripting help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-02-2006 , 07:36   scripting help
Reply With Quote #1

hi, i maked this code :
Code:
public makeant(id,level,cid){
    new name[128]
         get_user_name(id, name, 31)
     client_print(id,print_chat,"Now your are an Ant")
     set_hudmessage(23,243,00,0.07, 0.73, 0, 6.0, 5.0)
     show_hudmessage(id,"%s has been transformed into a ant",name)
     
     cs_set_user_model(id,antmodel)
     set_user_armor(id,antarmor)
     set_user_maxspeed(id,Float:antspeed)
     set_user_gravity(id,Float:antgravity)
     set_user_footsteps(id,antfootstep)
     
     engclient_cmd(id,"weapon_knife")
     return PLUGIN_HANDLED
    }
A have some defines, etc but i want :
If can somebody modify my code and add posibility to use command for team (ex : amx_ant @T / @CT) and for all (ex : amx_ant @ALL) Please make it..
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
 



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:49.


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