Raised This Month: $ Target: $400
 0% 

MULTI set_user_origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ex3cuTioN
Member
Join Date: May 2010
Old 07-06-2010 , 11:04   MULTI set_user_origin
Reply With Quote #1

I have a problem...a big one

When i type in chat /start i want 5 T and 5 CT to teleport at the coordonates below.

PHP Code:
new T1[3] = { -240, -150, -91 }
new 
T2[3] = { -240, -230, -91 }
new 
T3[3] = { -240, -330, -91 }
new 
T4[3] = { -240, -430, -91 }
new 
T5[3] = { -240, -530, -91 }

new 
CT1[3] = { 350, -150, -91 }
new 
CT2[3] = { 350, -230, -91 }
new 
CT3[3] = { 350, -330, -91 }
new 
CT4[3] = { 350, -430, -91 }
new 
CT5[3] = { 350, -530, -91 
PHP Code:
public KnifeDuel()
{
    new 
players[32], num,i;
    
    
get_players(playersnum);
    
    for (
i=0i<numi++)
    {
        if(
get_user_team(players[i]) == 1)
        {
            
set_user_origin(players[i],T1);
            
cs_reset_user_model(players[i]);
            
fm_strip_user_weapons(players[i]);
            
fm_give_item(players[i],"weapon_knife");//real
        
}
        
        else if(
get_user_team(players[i]) == 2)
        {
            
set_user_origin(players[i], CT1);
            
cs_reset_user_model(players[i]);
            
fm_strip_user_weapons(players[i]);
            
fm_give_item(players[i],"weapon_knife");//real
        
}
    }

You must understand the situation very easy...
Ex3cuTioN 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 07:09.


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