- 0
Problema GivePlayerMoney
-
Similar Content
-
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
InceMan
Problema intalnita (descriere): cand duc servieta imi da bani aia dupa 1 min mi-ea inapoi si nu stiu de-ce
Ero(area / rile) / warning-(ul / urile):nu sunt erori
Liniile de cod / sursa / script-ul(obligatoriu):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 livrat servieta si a castigat $%d", pName, playerid, CashboxValue);
SendClientMessageToAll(0xFFD700AA, str);
GivePlayerMoney(playerid, CashboxValue);
format(str, 128, "~y~Felicitari! ~n~ Ai castigat ~n~~g~$%d", CashboxValue);
GameTextForPlayer(playerid, str, 4000, 3);
SendClientMessageToAll(0xFFD700AA, "Un nou joc va incepe in 3 minute!");
SetTimer("StartNewCashboxGame", 180000, 0);
IsGameStarted = 0;
if(IsTextdrawCreated == 1)
{
TextDrawDestroy(ValueText);
IsTextdrawCreated = 0;
}
}
Imagini / Video (optional):
Ati incercat sa rezolvati singur?:da
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
8 answers to this question
Recommended Posts