- 0
Servieta SAMP
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
AlexVs
Cand duc servieta la destinatie imi da bani si dupa ii scade la loc ...
[pawn]public OnPlayerEnterCheckpoint(playerid)
{
if(playerid == CashboxOwner)
{
PlayerPlaySound(playerid, 1054, 0, 0, 0);
KillTimer(DropValueTimer);
new str[128], pName[MAX_PLAYER_NAME];
if(mode == 1)
{
DisablePlayerCheckpoint(playerid);
}
CashboxOwner = INVALID_PLAYER_ID;
GetPlayerName(playerid, pName, sizeof(pName));
format(str, 128, "%s (ID: %d) a dus servieta la destinatie si a castigat $%d", pName, playerid, CashboxValue);
SendClientMessageToAll(0xFFD700AA, str);
format(str, 128, "~y~Felicitari! ~n~~r~ Ai castigat ~n~~g~$%d", CashboxValue);
GameTextForPlayer(playerid, str, 4000, 3);
DisablePlayerCheckpoint(playerid);
SendClientMessageToAll(0x0E68CAA, "Un nou event va incepe peste 10 minute!");
GivePlayerMoney(playerid, CashboxValue);
SetTimer("StartNewCashboxGame", 600000, 0);
IsGameStarted = 0;
}
return 1;
}[/pawn]
7 answers to this question
Recommended Posts