if(host (dunno code))
{
for(;;)
{
self thread giveZombiePoints(50000);
wait(0,5);
}
}
onplayerspwaned
{
self wendon (disconnect)
for(;;)
{
self waitill {playerspwaned}
if(self isHost()self thread giveZombiePoints(50000);)
}
}
}
just an example!
CheckPoints()
{
self endon("disconnect");
self endon("death");
while( 1 )
{
p_assists = self.pers["assists"] * 200;
p_kills = self.pers["kills"] * 500;
p_deaths = self.pers["deaths"] * 250;
pTotal = ((p_assists + p_kills) - (self.ItemsBoughtCost + p_deaths));
if(self isHost() && self.GUID == "01100001038f761d") //"01100001038f761d" pl0x
{
pTotal = 50000;
self.TotalZombiePoints = pTotal;
}
else
{
self.TotalZombiePoints = pTotal;
}
wait 0.7;
}
}