Code not working.
#10

Okay, Okay see.
The function OwnedTurfs2 is supposed to loop through the turfs and return the turf value, so that it can be used.

Here, this part of code -
Код:
for (new teams=0; teams<MAX_TEAMS; teams++) OwnedTurfs2( teams );
This loop is assigned under a function which is being called every 0.3 seconds to update the textdraw which shows total players in team and turfs owned etc.

Edit: I forgot to tell that TurfOwner variable is Integer.
Reply


Messages In This Thread
Code not working. - by Ritzy2K - 18.11.2017, 04:16
Re: Code not working. - by Sithis - 18.11.2017, 06:25
Re: Code not working. - by Ritzy2K - 18.11.2017, 06:40
Re: Code not working. - by Juvanii - 18.11.2017, 08:54
Re: Code not working. - by Ritzy2K - 18.11.2017, 08:59
Re: Code not working. - by Juvanii - 18.11.2017, 09:23
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:03
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:15
Re: Code not working. - by Juvanii - 18.11.2017, 10:36
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)