Raised This Month: $ Target: $400
 0% 

problem with random


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EclipseCP
BANNED
Join Date: Dec 2010
Old 04-18-2011 , 12:52   problem with random
Reply With Quote #1

hi, sorry for my bad english, use translator.

I have a problem with random, I make out a random MODEL (there are 2 that could leave), I did this, but I'm warning

PHP Code:
    new _model random_num(01)
    
    switch(
_model)
    {
        case 
0
        {
            
entity_set_model(iEntitytree_model)         
        }
        case 
1
        {
            
entity_set_model(iEntitytree_model2)
        }
    }

    
entity_set_vector(iEntity,EV_VEC_originOrigin)
    
_tree_model
    entity_set_int
(iEntityEV_INT_movetypeMOVETYPE_BOUNCE
grettings.
EclipseCP 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 20:12.


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