Raised This Month: $ Target: $400
 0% 

Read FLOAT from file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-10-2014 , 20:42   Re: Read FLOAT from file
Reply With Quote #11

First off, that's not a string, it's a function. You're getting tag mismatch because the second parameter is the team, which is tagged with CsTeams. 2 is an untagged integer, so you either have to use CsTeams:2 or the correct value (CS_TEAM_CT?). The third param is also wrong, it's for setting the player's model and it's tagged with CsInternalModel.
Code:
CS_DONTCHANGE 
CS_CT_URBAN 
CS_T_TERROR 
CS_T_LEET 
CS_T_ARCTIC 
CS_CT_GSG9 
CS_CT_GIGN 
CS_CT_SAS 
CS_T_GUERILLA 
CS_CT_VIP
PHP Code:
cs_set_user_team(idCS_TEAM_CTmy_func(id))

// doesn't really need to be public for this
CsInternalModel:my_func(id)
{
    return 
CS_T_TERROR


Last edited by Backstabnoob; 07-10-2014 at 20:44.
Backstabnoob 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 15:57.


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