Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

5 answers to this question

Recommended Posts

  • 0
Posted

mai am o nelamurire de exemplu cand castig bani imi zice (ai castigat bani!), eu vreau sa imi zica si cati bani am castigat

  • 0
Posted
12 minutes ago, CSORIN said:

mai am o nelamurire de exemplu cand castig bani imi zice (ai castigat bani!), eu vreau sa imi zica si cati bani am castigat

  1. default: {
  2.                     amount = random(700000) + 500000;
  3.                     format(string, sizeof(string), "~r~Crate System~w~~b~~n~~n~Step: %d/30~n~~g~$%s", 30-CrateTime[i], FormatNumber(amount));
  4.                     PlayerTextDrawSetString(i, CrateTD, string);
  5.                     if(CrateTime[i] == 0) GivePlayerCash(i, amount), PlayerTextDrawHide(i, CrateTD), SCM(i, COLOR_YELLOW, "Ai castigat bani!");              
  6.                     }
 
 
Modifici in 
 
  default: {
                    amount = random(700000) + 500000;
                    format(string, sizeof(string), "~r~Crate System~w~~b~~n~~n~Step: %d/30~n~~g~$%s", 30-CrateTime[i], FormatNumber(amount));
                    PlayerTextDrawSetString(i, CrateTD, string);
                    if(CrateTime[i] == 0)
					{
					    static stringg[100];
						GivePlayerCash(i, amount);
						PlayerTextDrawHide(i, CrateTD);
						format(stringg,sizeof stringg,"Ai castigat $%d",amount);
						SCM(i, COLOR_YELLOW,stringg);
					}
}

 

 

Am inteles ca problema este rezolvata deci T.C.

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.