- 0
WantedTextdraw
-
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
Sammich
Problema intalnita (descriere):Salut,vreau sa fac ca pe Bugged un textdraw cu Wanted scade in: 15 minute .Am facut texdraw-ul Am pus la new asta:
------------------------------------------
new Text:WantedScade[MAX_PLAYERS];
----------------------------------
Pe urma am adaugat textdraw-ul la OnGameModeInit si in ultimul rand am adaugat la OnPlayerStateChange asta
-----------------------------------------------------------------------------------
if(playerVariables[playerid][pWarrants] >= 1)
{
new string2[256];
format(string2, 256, "Wanted scade in: ~r~ %d secunde", CalculeazaTimp(WantedTime));
TextDrawSetString(WantedScade[playerid], string2);
}
-------------------------------------------------------------------------------------------
Ero(area / rile) / warning-(ul / urile): Si imi da eroare asta "D:\Gamemoduri\bugged!\gamemodes\rpg.pwn(7817) : error 017: undefined symbol "i" "
Liniile de cod / sursa / script-ul(obligatoriu): Linia de cod este asta "format(string2, 256, "Wanted scade in: ~r~ %d secunde", CalculeazaTimp(WantedTime)); "
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da
19 answers to this question
Recommended Posts