Raised This Month: $ Target: $400
 0% 

Solved Set special info for player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-31-2017 , 17:42   Re: Set special info for player
Reply With Quote #1

0 is the server id/worldspawn. And 1 is the first playerslot id.

Did you paid an attention at my previous post?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 07-31-2017 at 17:44.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-31-2017 , 17:57   Re: Set special info for player
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
0 is the server id/worldspawn. And 1 is the first playerslot id.

Did you paid an attention at my previous post?
PHP Code:
static Players[32], iNumSteamID[10]
get_players(PlayersiNum)
for (new 
0iNum; ++i)
{
    
//get_user_name(id, name, charsmax(name)) 
    
get_user_authid(idSteamIDcharsmax(SteamID)

        if(
equal(SteamIDsp_player)) 
        { 
            
set_user_info(id"_sp""656"
            break 
        }
}

public 
client_putinserver(id

    new 
info[5
    
get_user_info(id"_sp"infocharsmax(info)) 
    if(
str_to_num(info) == 656
        
g_special[id] = true 

__________________
My plugin:

Last edited by Celena Luna; 07-31-2017 at 17:57.
Celena Luna is offline
Old 08-01-2017, 13:50
Black Rose
This message has been deleted by Black Rose. Reason: Not important
Reply



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 23:09.


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