Posts: 87
Threads: 27
Joined: Nov 2015
Reputation:
0
Hello i need something
i need to know how to choose someone random from team with name Team1
And Send an random ammount of money
Please help mee
Thanks
I rrlly need this please
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
You'll get no help with such a question. You should give us some code and explain how your team system works.
Posts: 87
Threads: 27
Joined: Nov 2015
Reputation:
0
i dont have code
Just choose someone with randomid from "TEAM1" (The name of team) and give some money him. The money he will get will be randomly
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
No code? Sorry, but this is a scripting help forum, there must be a code.
I don't know how to solve your problem and have no idea what kind of teams you are using. By the way, if you can't edit a code, you are not able to do anything that we can suggest.
Posts: 87
Threads: 27
Joined: Nov 2015
Reputation:
0
I just dont have idea how to start it
Thats my problem
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
Well, maybe you should create team system first.
The simpliest way of doing this is to store team name as SetPVarString for each player, but it's too expensive for performance.
So you have no code? Did you write something in PAWN?
Posts: 87
Threads: 27
Joined: Nov 2015
Reputation:
0
i have team
if(team[i] == TEAM_HUMAN)
Idk what other you need
i thing you dont need anything else because i think that system dont need any special from server
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
Well, I have no idea how you determine player's team and where you store info about player's team.
Posts: 87
Threads: 27
Joined: Nov 2015
Reputation:
0
omg okay can you tell mee
How to chose an player randomly from "TEAM_HUMAN" just choose
nothing else
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
No, I don't know how your team system works and can just guess how to do that.