Raised This Month: $ Target: $400
 0% 

set a users team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_Master_
Senior Member
Join Date: Dec 2006
Old 07-18-2007 , 14:24   Re: set a users team
Reply With Quote #1

Quote:
Originally Posted by djmd378 View Post
It seems that if I use set_pdata_int to change large amounts of player's team then it will crash the server. Anyone have a solution to this? Or even another method of what I want to do?
Post the code for this issue.
_Master_ is offline
djmd378
Senior Member
Join Date: Sep 2004
Old 07-18-2007 , 21:23   Re: set a users team
Reply With Quote #2

I dunno why you need this but....

Code:
stock md_set_user_team(index, team) {     message_begin(MSG_ALL, get_user_msgid("TeamInfo"), {0,0,0}, 0)     write_byte(index)     write_string((team == 1) ? "TERRORIST" : "CT")     message_end()     set_pdata_int(index, 114, team) }
__________________
djmd378 is offline
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 21:33.


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