SA-MP Forums Archive
[REP ++ ] QUESTION !!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [REP ++ ] QUESTION !!! (/showthread.php?tid=585536)



[REP ++ ] QUESTION !!! - buburuzu19 - 14.08.2015

How can i make something like : for each turf that a gang owns to give some money to the gang that owns that turf.

i tried something like this but it's not working

pawn Код:
for(new z = 0; z < sizeof(TurfsInfo); z++)
    {
        if(TurfsInfo[z][Owner] == gangZone[z][gangZoneID])
        {
                        gangZone[z][gangSafe] += 50;
           
        }
    }



Re: [REP ++ ] QUESTION !!! - Weponz - 14.08.2015

Use GangZoneCreate and IsPlayerInArea


Re: [REP ++ ] QUESTION !!! - buburuzu19 - 15.08.2015

Quote:
Originally Posted by Weponz
Посмотреть сообщение
Use GangZoneCreate and IsPlayerInArea

"How can i make something like : for each turf that a gang owns to give some money to the gang that owns that turf."


Do you know how to read?