Raised This Month: $51 Target: $400
 12% 

Desvirtúe aquí.


  
 
 
Thread Tools Display Modes
fearAR
Veteran Member
Join Date: Oct 2010
Old 04-08-2012 , 03:52   Re: Desvirtúe aquí.
#16691

La funcion set_task tiene un parametro en donde puedes pasar diferentes parametros los cuales lo debes guardar en un array y luego pasarlos mediante el parametro del task referido a la funcion.

Saludos.
__________________
~~~~ NPC AI ~~~~

[ Pathfinding - OK ]
[ Citizen AI - OK ]
[ Handle Weapons - --- ]
fearAR is offline
Send a message via MSN to fearAR
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-08-2012 , 05:36   Re: Desvirtúe aquí.
#16692

PHP Code:
#include <amxmod>

#define TASK_ONE    574397 

public function1(victimattacker

    new 
args[1
     
    
args[0] = attacker 
     
    set_task
(10.0"function2"attacker+TASK_ONEargs1


public 
function2(taskidargs[]) 

    static 
player 
    player 
= (taskid TASK_ONE
     
    new 
attacker args[0


Last edited by Stereo; 04-08-2012 at 06:25.
Stereo is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-08-2012 , 06:22   Re: Desvirtúe aquí.
#16693

Quote:
Originally Posted by Stereo View Post
Code:
#define TASK_ONE    574397 public function1(victim, attacker) {     new args[1]           args[0] = attacker      
    set_task(10.0, "function2", player+TASK_ONE, args, 1)
} public function2(taskid, args[]) {     static player     player = (taskid - TASK_ONE)           new attacker = args[0] }
O.O
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-08-2012 at 06:22.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-08-2012 , 06:25   Re: Desvirtúe aquí.
#16694

Lo copié de por ahí y connor dijo que estaba bien pero weno lo importante es lo de los args xd
Stereo is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 04-08-2012 , 14:06   Re: Desvirtúe aquí.
#16695

Quote:
Originally Posted by CoQuito View Post
-10
ajajaj ahora estas del lado de rak? bien que me venias a pedir cosas por face y msn (: te ayude lo mas que pude y ahora te vendes? oki oki e.e
__________________
matrix123 is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-08-2012 , 15:09   Re: Desvirtúe aquí.
#16696

lucas........ comprate un router rataaaaaaa D:
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 04-08-2012 , 15:12   Re: Desvirtúe aquí.
#16697

hola a todos
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-08-2012 , 15:13   Re: Desvirtúe aquí.
#16698

JAJAJAAJJAJAJAJAAJAJAJAJAJAJAJAJA
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-08-2012 , 15:13   Re: Desvirtúe aquí.
#16699

Quote:
Originally Posted by Sidix View Post
hola a todos
hola
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 04-08-2012 , 18:04   Re: Desvirtúe aquí.
#16700

Alguien tiene un v_model de un cuchillo, pero que el movimiento idle de las manos sea como si estuviera corriendo ? (tipo mw3 / battlefield) i need this xdd
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
 



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 07:48.


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