|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2009
Posts: 211
Reputation: 0
|
can anyone help me with this ?
|
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 1,794
Reputation: 1
|
Pick a random id?
Then on that ids death? Get it to choose a diffrent one? Im not sure quite what your wanting here |
|
|
|
|
|
#3 | |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2009
Posts: 211
Reputation: 0
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2009
Posts: 619
Reputation: 0
|
Untested but i think this is what you are looking for.
Code was updated see: http://forum.sa-mp.com/index.php?top...7586#msg887586 Code:
|
|
|
|
|
|
#5 | |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2009
Posts: 211
Reputation: 0
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jan 2009
Posts: 442
Reputation: 0
|
What do you use to save the players team and ranks?
|
|
|
|
|
|
#7 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2009
Posts: 619
Reputation: 0
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2009
Posts: 211
Reputation: 0
|
guys look i got a commander , then the if the commander dies , the general with the most points , the most kills , automaticly becomes commander , , do you knopw what i mean ?
|
|
|
|
|
|
#9 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2009
Posts: 619
Reputation: 0
|
Yes, and the code i gave you should work, just make a loop to find the soldier with the highest score.
I don't know exactly how your team system works, but you should be able to modify my code to fit. Other than showing us your team system we can't do much more. |
|
|
|
|
|
#10 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2009
Posts: 211
Reputation: 0
|
hey but how to find the highest score of the player and when the general dies the soldier becomes general , ok i know hte code for it , how about the loop or what erver you said , how to find it .
peace out and thanks |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| General Reference | Mike | Scripting Help | 302 | 01/05/2013 02:14 AM |
| Help general | [ZX]_Whitewolf | Help Archive | 0 | 15/06/2010 11:04 PM |
| From soldier to go to general ... when a certain score reached .. how ? | AlbanianGuy | Help Archive | 17 | 21/02/2010 12:13 AM |
| Scripting in general | ilikepie2221 | Help Archive | 5 | 25/09/2009 10:17 PM |
| General Help with an RP server. | Marclang | Help Archive | 5 | 13/06/2009 06:37 PM |