View Single Post
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-19-2004 , 11:10  
Reply With Quote #4

Set_task functions (can) use parameters to pass data to them. Most programmers use the first element of the array to store the user's ID

param[0] = id

You can then use other parts of the array to store other various unformation, like the player's origin, etc...

param[1] = origin[0] // x value
param[2] = origin[1] // y value
param[3] = origin[2] // z value

native set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0);
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu