Raised This Month: $ Target: $400
 0% 

help with origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-20-2009 , 21:29   Re: help with origin
Reply With Quote #2

I didn't really look at it, but just a note:

Code:
    if(task_exists(iClient))
        remove_task(iClient);
Don't check if the tasks exists just remove it.

-----

Also you don't really need to:
Code:
    static newangle[3]
    get_user_origin( iClient, newangle )
    gSpawnPosition[iClient][0] = newangle[0];
    gSpawnPosition[iClient][1] = newangle[1];
    gSpawnPosition[iClient][2] = newangle[2];
Just do:
Code:
get_user_origin( iClient,  gSpawnPosition[iClient])

Last edited by vittu; 10-20-2009 at 21:32.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
 



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 17:40.


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