04.02.2016, 15:52
PHP код:
if(Del[playerid] == 1){
DisablePlayerCheckpoint(playerid); // This makes sure that there will be a new checkpoint
Del[playerid] = 0; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
new rand = random(sizeof(DinheiroEntrega));
GivePlayerMoney(playerid, DinheiroEntrega);
SendClientMessage(playerid, 0xFFFFFFFF, "Vocк ganhou %d dуlares pelo trabalho", DinheiroEntrega);
return 1;
}