Raised This Month: $ Target: $400
 0% 

Ayuda , Ham Item Deploy


  
 
 
Thread Tools Display Modes
Author Message
StrikerV2
Senior Member
Join Date: Nov 2012
Location: Chile , O Yes!
Old 01-28-2013 , 21:33   Ayuda , Ham Item Deploy
#1

Bueno La Pregunta Seria
Si uso ham_item_deploy Como setearia El Model ??

Con algun if?

Por ejemplo tengo

new const He[] = "models/henade.mdl"

if_ ?
__________________
Mi firma era tan sexy .-.
StrikerV2 is offline
Send a message via MSN to StrikerV2
Old 01-29-2013, 10:13
monster321
This message has been deleted by monster321. Reason: sorry doble-post
monster321
Member
Join Date: Apr 2012
Old 01-29-2013 , 10:15   Re: Ayuda , Ham Item Deploy
#2

Code:
#include <amxmodx> #include <hamsandwich> #include <fakemeta> new const deagle_v[] = "models/deagle_v.mdl" public plugin_init() {              register_plugin("Deagle model", "1.0", "monster321")              RegisterHam( Ham_Item_Deploy, "weapon_deagle", "Deagle_Model" , 1) } public plugin_precache()   precache_model(deagle_v) public Deagle_Model( plr ) {     new id = get_pdata_cbase( plr, 41, 4 );     if( is_user_alive(id) || is_user_connected(id) )           set_pev( id, pev_viewmodel2, deagle_v ) }

Prueba con esto...
monster321 is offline
Send a message via MSN to monster321 Send a message via Skype™ to monster321
 



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 03:12.


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