Raised This Month: $ Target: $400
 0% 

scripting help team divide


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-15-2011 , 09:13   Re: scripting help team divide
Reply With Quote #1

You said:
Quote:
Originally Posted by r0ck View Post
dont need full plugin just that part of script if number are odd then error like teams cannot be made due to odd number of terrorists
And that code does that, asign "iPlayers" as the number of terrorists or whatever you need and the "iExtraPlayers" would be 0 if the number of terrorists can be divided by 2.
In the example code it can't be divided, so "iExtraPlayers" is 1.
__________________
Hunter-Digital 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 00:57.


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