Raised This Month: $ Target: $400
 0% 

Set_task tag mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-23-2010 , 19:13   Re: Set_task tag mismatch
Reply With Quote #3

1. de-tag the Float array in set_task
2. make SpawnEnt public
3. make the origin param an array in SpawnEnt

untested
PHP Code:
public SpawnEntFloat:origin[3] , entity )
{
         
//unsure if you needed this or not
         
new ent entity ENTTASK;
     
}

public 
EntTouch(enttoucher)
{
    new 
Float:origin[3]
    
pev(ent,pev_origin,origin)   
    
set_task(10.0"SpawnEnt",ent ENTTASK_:originsizeoforigin ) )
    
remove_entity(ent)

__________________

Last edited by Bugsy; 08-23-2010 at 19:17.
Bugsy 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 22:01.


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