17.04.2011, 10:23
Can someone explain to me how toes this command work ![Huh?](images/smilies/confused.gif)
I mean on bolded text![Smiley](images/smilies/smile.png)
how does system know what price need to set with this command :
,
and what does this comand mean??
![Huh?](images/smilies/confused.gif)
I mean on bolded text
![Smiley](images/smilies/smile.png)
Код:
if(newstate == 2) { if(RentCars(vehicle)) { if (HireCar[playerid] != vehicle) { format(string, sizeof(string), "~r~Rent vozilo~n~~w~Cjena:~g~%d$~n~~w~za rent napisi ~g~/rentcar~w~~n~za izlaz ~g~/exit",SBizzInfo[0][sbEntranceCost]); TogglePlayerControllable(playerid, 0); TextDrawSetString(OwnerShip2,string); TextDrawShowForPlayer(playerid,OwnerShip1); TextDrawShowForPlayer(playerid,OwnerShip2); SetTimerEx("UnistiTDKuce",6000,0,"d",playerid); } }
Код:
%d$
![Huh?](images/smilies/confused.gif)
and what does this comand mean??
Код:
TextDrawSetString(OwnerShip2,string);