Raised This Month: $32 Target: $400
 8% 

[AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero aprender?


  
 
 
Thread Tools Display Modes
Author Message
Sohail001
BANNED
Join Date: May 2013
Location: I'm from my HOME...
Old 05-29-2013 , 13:16   [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero aprender?
#1

Alguien me podria ayudar en crear una entidad de arma drop que kiero aprender?
Sohail001 is offline
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 05-29-2013 , 13:23   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#2

engine:
new ent = create_entity("armoury_entity")

edit: entidad de arma drop, osea un arma en el piso?

edit 2: no me respondiste pero bueno aca tenes un stock:
https://forums.alliedmods.net/showpo...86&postcount=2
__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"

Last edited by Roccoxx; 05-29-2013 at 13:33.
Roccoxx is offline
Send a message via MSN to Roccoxx
Sohail001
BANNED
Join Date: May 2013
Location: I'm from my HOME...
Old 05-29-2013 , 13:42   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#3

Quote:
Originally Posted by Roccoxx View Post
engine:
new ent = create_entity("armoury_entity")

edit: entidad de arma drop, osea un arma en el piso?

edit 2: no me respondiste pero bueno aca tenes un stock:
https://forums.alliedmods.net/showpo...86&postcount=2
vale gracias!

1.- Para poner el model w_ seria con esto verda:
Code:
register_forward( FM_SetModel, "Fw_SetModel" );
Sohail001 is offline
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 05-29-2013 , 13:47   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#4

https://forums.alliedmods.net/showpo...34&postcount=5
__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"
Roccoxx is offline
Send a message via MSN to Roccoxx
Sohail001
BANNED
Join Date: May 2013
Location: I'm from my HOME...
Old 05-30-2013 , 13:28   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#5

Quote:
Originally Posted by Roccoxx View Post
Este no sirver porque cuando se cae la arma se queda como si fusiera caido armadura y ni puedo cogerlo...
Sohail001 is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 05-30-2013 , 15:06   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#6

tienes que añadir un touch para que cuando la toquen reciban el arma, después de que la reciban la remueves del suelo
baneado is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 05-30-2013 , 15:51   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#7

Es un arma custom o un arma normal (una ak, una m3)?
XINLEI is offline
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 05-30-2013 , 15:55   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#8

Quote:
Originally Posted by Sohail001 View Post
Este no sirver porque cuando se cae la arma se queda como si fusiera caido armadura y ni puedo cogerlo...
ok usa el primer stock, añadile un parametro por ejempo: const model[].

y agrega:

entity_set_model(ent, model)
__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"
Roccoxx is offline
Send a message via MSN to Roccoxx
Sohail001
BANNED
Join Date: May 2013
Location: I'm from my HOME...
Old 05-30-2013 , 17:14   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#9

Quote:
Originally Posted by baneado View Post
tienes que añadir un touch para que cuando la toquen reciban el arma, después de que la reciban la remueves del suelo
Qual de estos dos seria mejor:

1.- http://forums.alliedmods.net/showpos...79&postcount=2
2.- http://forums.alliedmods.net/showpos...8&postcount=15

-------------------------------------------------------------------------------------

Y con este stock:
Stock:
Code:
Create_Armoury_Entity(client, const item, const count, const szWmodel[]) {     new iEnt = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "armoury_entity"));     static Float:flOrigin[3]     pev(client, pev_origin, flOrigin);     set_pev(iEnt, pev_origin, flOrigin);     set_pdata_int(iEnt, m_Type, item, XTRA_OFS_ARMOURY);     set_pdata_int(iEnt, m_Count, count, XTRA_OFS_ARMOURY);     set_pev(iEnt, pev_model, szWmodel);     ExecuteHamB(Ham_Spawn, iEnt); }

Sera asin?:

Code:
Create_Armoury_Entity(id, CSW_ARMA, 0, "models/arma.mdl")

Last edited by Sohail001; 05-30-2013 at 17:30.
Sohail001 is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 05-31-2013 , 01:17   Re: [AYUDA]Alguien me podria ayudar en crear una entidad de arma drop que kiero apren
#10

http://forums.alliedmods.net/showpos...1&postcount=11
XINLEI 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 03:19.


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