17.04.2011, 10:23
Can someone explain to me how toes this command work 
I mean on bolded text
how does system know what price need to set with this command :
,
and what does this comand mean??

I mean on bolded text

Код:
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$
,and what does this comand mean??
Код:
TextDrawSetString(OwnerShip2,string);

