21.03.2018, 16:09
PHP код:
case 5:
{
if((CP[playerid] > 0) && (MilitarJob[playerid] == 5)) return SendClientMessage(playerid, -1, "Mission Failed, your CP is 1 !");
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, -1, "You accomplished your mission!!");
GivePlayerMoney(playerid,2500);
MilitarJob[playerid] = 0;
CP[playerid] = 0;
}
}
PHP код:
if pInfo[playerid][ZombiesKilled] > 1 GivePlayerMoney(playerid,5000);
if pInfo[playerid][ZombiesKilled] < 0 GivePlayerMoney(playerid,2500);