![]() |
Is this correct? or is it a bug?
Hi, like I said before... I can not code but when looking at the code I found something that I cant understand... let's see if I can paste it correctly :P
Code:
if (team == 2) // Counter-Terrorist *sluggo* if CT then do the first switch? dstruct2k: That's because it isn't an HTML tag. Use [] instead of <> ;) |
Re: Is this correct? or is it a bug?
if they are on the CT team, then those weapons will return false, meaning they are not good weapons for them to buy, therefore they will not buy them.
rather than return true for each weapon, we return false for exclusive weapons less code :) HTH |
Re: Is this correct? or is it a bug?
I must learn to code so I don't have to take up half the forum space with stupid questions! :o :o
Thanks for the info Josh! |
Re: Is this correct? or is it a bug?
to learn coding, you should first code some simple programs. try to begin with some c++ tutorials.
Later you can look at Realbot Source. Ok do what you want. ;) |
Re: Is this correct? or is it a bug?
to post code you can use [ code] and [ /code] tags (without spaces)
|
Re: Is this correct? or is it a bug?
Quote:
Quote:
When I have learned some coding I will be back with some intelligent questions for a change :D :D Until then, keep up the good work guys! (and girls if any?) |
Re: Is this correct? or is it a bug?
It's not a stupid question for me. It's perfectly natural for begginers, but when you get used to it, it is as easy as pie. 8)
|
All times are GMT +2. The time now is 16:15. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.