public OnPlayerSpawn(playerid) { if(DMZone[playerid] >= 0) { SetPlayerHealth(playerid, 100000); SetTimerEx("AntiSpawnkill",4000,0,"i",playerid); } . . }
forward AntiSpawnkill(playerid); public AntiSpawnkill(playerid) { if(DMZone[playerid] == 0) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 1) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 2) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 3) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 4) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 5) { SetPlayerArmour(playerid,50); SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 6) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 7) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 8) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 9) { SetPlayerHealth(playerid,40); } if(DMZone[playerid] == 10) { SetPlayerHealth(playerid,40); } if(DMZone[playerid] == 11) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 12) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 13) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 14) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 15) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 16) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 17) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 18) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 19) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 20) { SetPlayerHealth(playerid,100); } if(DMZone[playerid] == 21) { SetPlayerHealth(playerid,100); } return 1; }
What does matter with accounts :P? about objects its unlimited Dynamic
|
Player accounts have nothing to do with this. Do you have any code in OnPlayerUpdate callback?
|
Why not?
Suppose his vps is having 50mb space and you are storing nearly 5000+ accounts, That will be nearly 35mb, And serverlog, ban log? Admin cmd log, etc can cause lag why not? |