Raised This Month: $ Target: $400
 0% 

origin, angles and touch optimisation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 01-01-2010 , 08:19   origin, angles and touch optimisation
Reply With Quote #1

I would like to know why commented part doesnt work, and why uncommented works, cause i see no reason not to work.

PHP Code:
        // SET ORIGIN AND ANGLES
        
new randspawn random_num (0g_TotalSpawns 1)
        
//new Float:origin[3] = {g_SpawnVecs[randspawn][0], g_SpawnVecs[randspawn][1], g_SpawnVecs[randspawn][2]}
        //new Float:angles[3] = {g_SpawnAngles[randspawn][0], g_SpawnAngles[randspawn][1], g_SpawnAngles[randspawn][2]}
        
new Float:origin[3]
        new 
Float:angles[3]
        
origin g_SpawnVecs[randspawn]
        
angles g_SpawnAngles[randspawn]
        
//CREATE ENTITY
        
create_ent(origin,angles
__________________


Last edited by Jack86; 01-01-2010 at 09:32.
Jack86 is offline
 


Thread Tools
Display Modes

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


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