Help Me Please, my brain is too small for it!
#1

I need th funktion of finding of the gang with more gang zones than other gangs!

i have function OwnedTurfs(teamid) - the showing the amount of turfs of the gang
MAX_TURFS - i think you know what is it!
if you you want some other things from code of my gamemode , just tell me!

and please help me, i want the funktion "King Of the San Fierro" .
Reply
#2

Quote:
Originally Posted by Nexotronix
Посмотреть сообщение
I need th funktion of finding of the gang with more gang zones than other gangs!

i have function OwnedTurfs(teamid) - the showing the amount of turfs of the gang
MAX_TURFS - i think you know what is it!
if you you want some other things from code of my gamemode , just tell me!

and please help me, i want the funktion "King Of the San Fierro" .
I really had a hard time reading this lol, try to make your questions a bit more clear next time lol.


i suggest you read these articles:

Scripting basics - This is a long article that covers all the basics. Its a lot of reading, but its pretty much manditory lol. It covers variables which is a big part of this question.

Control Structures - This covers control structures and relational operators, which is the second part of your question.


Other than that you are on your own without an error message, or some code with clearer questions.
Reply
#3

I guess he only want to show the "gang" with the highest ammount of owned turf.
It's just like "Get Player With The Highest Score".
Omg I'm not good at maths, so sorry, I can't help you yet. I need to think about it :P
Reply
#4

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
I guess he only want to show the "gang" with the highest ammount of owned turf.
It's just like "Get Player With The Highest Score".
Omg I'm not good at maths, so sorry, I can't help you yet. I need to think about it :P
It really has NOTHING to do with math, i posted everything he needed lol. If thats truely what he wants, its just a loop, an if statement, and a variable assignment.


All of which is covered in those two articles. Reading them or not is up to him though lol, im not gonna hand out simple code, i'd rather see someone learn something. You really cant go anywhere without reading them, so i suggest doing so xD.
Reply
#5

Thanx, i'm gonna read this all, i think it's helpful, and sorry for my english
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)