30.06.2016, 18:41
public AjailCount(playerid)
{
if(pInfo[playerid][pJailTime] == 1)
{
new randSpawn = random(sizeof(randomSpawns_DayZSA_Part1));
SetPlayerPos_Allow(playerid,randomSpawns_DayZSA_Pa rt1[randSpawn][0],randomSpawns_DayZSA_Part1[randSpawn][1],randomSpawns_DayZSA_Part1[randSpawn][2]);
pInfo[playerid][pJailTime] = 0;
}
else if(pInfo[playerid][pJailTime] => 2)
{
SetTimerEx(AjailCount(playerid),60000,false,"u",pl ayerid);
pInfo[playerid][pJailTime] -= 1;
}
return 1;
}
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
warning 211: possibly unintended assignment
: error 029: invalid expression, assumed zero
warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one
{
if(pInfo[playerid][pJailTime] == 1)
{
new randSpawn = random(sizeof(randomSpawns_DayZSA_Part1));
SetPlayerPos_Allow(playerid,randomSpawns_DayZSA_Pa rt1[randSpawn][0],randomSpawns_DayZSA_Part1[randSpawn][1],randomSpawns_DayZSA_Part1[randSpawn][2]);
pInfo[playerid][pJailTime] = 0;
}
else if(pInfo[playerid][pJailTime] => 2)
{
SetTimerEx(AjailCount(playerid),60000,false,"u",pl ayerid);
pInfo[playerid][pJailTime] -= 1;
}
return 1;
}
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
warning 211: possibly unintended assignment
: error 029: invalid expression, assumed zero
warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one