public GyorsTimer(){new p;for(p = 0; p < MAX_PLAYERS; p++){if(Belepve[p] != 0){ new Float:Armour; new Float:HP; GetPlayerArmour(p,Armour); GetPlayerHealth(p,HP); if(Armour > 100) { SetPlayerArmour(p,100); } if(HP > 100) { SetPlayerHealth(p,100); } if(JatekosInfo[p][ViszValakit] != 0) { new Float:Xpoz, Float:Ypoz, Float:Zpoz, Int, VW; GetPlayerPos(p, Xpoz, Ypoz, Zpoz); VW = GetPlayerVirtualWorld(p); Int = GetPlayerInterior(p); new vittember; vittember = JatekosInfo[p][ViszValakit]; SetPlayerPos(vittember, (Xpoz+0.5), Ypoz, Zpoz); SetPlayerInterior(vittember, Int); SetPlayerVirtualWorld(vittember, VW); } if(JatekosInfo[p][Taxiban] > 0 && JatekosInfo[p][Viteldij] < 15) { JatekosInfo[p][Taxiban] ++; } if(JatekosInfo[p][Taxiban] == 15) { JatekosInfo[p][Taxiban] = 1; JatekosInfo[p][Penz] -= JatekosInfo[p][Viteldij]; } if(JatekosInfo[p][szomjusag] > 100) { JatekosInfo[p][szomjusag] = 100; } if(JatekosInfo[p][Ehseg] > 100) { JatekosInfo[p][Ehseg] = 100; } if(JatekosInfo[p][Almossag] > 100) { JatekosInfo[p][Almossag] = 100; } if(JatekosInfo[p][szomjusag] < 0) { JatekosInfo[p][szomjusag] = 0; } if(JatekosInfo[p][Ehseg] < 0) { JatekosInfo[p][Ehseg] = 0; } if(JatekosInfo[p][Almossag] < 0) { JatekosInfo[p][Almossag] = 0; }}}return 1;}
SetTimer(\"GyorsTimer\", 1000, true);
new p;for(p = 0; p < MAX_PLAYERS; p++){
forward GyorsTimer(playerid);
public GyorsTimer(playerid){stb...}
OnPlayerConnect
SetTimerEx(\"GyorsTimer\", true, \"ddd\", playerid);
new Timerek[akármennyi] = -1;?
if