Raised This Month: $ Target: $400
 0% 

Set_task problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 12-11-2005 , 06:04   Set_task problem
Reply With Quote #1

I've been trying to get this fixed, if anybody can help me

Code:
public cmdSpawn(id) {     new Float:curOrigin[3]     entity_get_vector(id, EV_VEC_origin, curOrigin)         new data[1]     data[0] = curOrigin         client_print(id, print_chat, "[AMXX] You got 5 seconds to move")     set_task(5.0, "createEnt", 0, data, 1)         return PLUGIN_HANDLED } public createEnt(data[]) {     new Float:origin[3]     origin = data[0]         //some entity creation code, doesnt matter right now     //Just declare the origin to make a good example ^^     entity_set_origin(ent, origin)         //Done :)     return PLUGIN_HANDLED }
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
 



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 16:08.


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