- 0
Servieta SAMP
-
Similar Content
-
Index samp
By zXk.,
- 8 replies
- 296 views
-
- 2 replies
- 324 views
-
- 15 replies
- 1,145 views
-
- 2 replies
- 355 views
-
- 0 replies
- 195 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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]
Link to comment
Share on other sites
7 answers to this question
Recommended Posts