04.02.2016, 15:30
Код:
if(Del[playerid] == 1) // This checks if our variable equals to 1, if so: it continues { 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[rand][0]); SendClientMessage(playerid, 0xFFFFFFFF, "Vocк ganhou %d dуlares pelo trabalho"); return 1; }