Quote:
Originally Posted by Undef1ned
PHP код:
function PWarHighCheck(playerid)
{
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
if(pos[2] < 46.1413 && PWarBattle[playerid][InPWar])
{
PLozzerPWar(playerid);
return 1;
}
if(PWarBattle[playerid][InPWar]) SetTimerEx("PWarHighCheck", 1000, false, "d", playerid);
return 1;
}
|
You should write stock instead of function, this is not JavaScript.
Anyway we talked in private chat and the issue is not that simple, it's almost impossible to be solved by someone else.