31.07.2018, 23:43
PHP код:
forward chamarcheckpointpm();
public chamarcheckpointpm()
{
foreach(Player, i)
{
if(IsPlayerInRangeOfPoint(i, 3.0, 1542.7469, -1677.2424, 13.5551)
{
if(Algemado[i] == 1)
{
SetPlayerInterior(i, 5);
SetPlayerPos(i, 317.9386,316.8946,999.1484);
Tempocadeia(i);
}
else if(Algemando[i] == 1)
{
GivePlayerMoney(i, 4000);
RemovePlayerMapIcon(i, 0);
DisablePlayerCheckpoint(i);
SendClientMessage(i, 0x0000FFAA, "[ x ]Parabйns. Vocк acabou de prender um procurado\nSua recompensa foi automaticamente entregue!");
}
}
}
return 1;
}
PHP код:
C:\Users\victo\OneDrive\Бrea de Trabalho\server\gamemodes\fsf.pwn(500) : error: 001: expected token: ")", but found "{"