CAN SOMEONE EXPLAIN ME
#1

Can someone explain to me how toes this command work
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);
			}
		}
how does system know what price need to set with this command :
Код:
%d$
,
and what does this comand mean??
Код:
TextDrawSetString(OwnerShip2,string);
Reply


Messages In This Thread
CAN SOMEONE EXPLAIN ME - by Gangasta300 - 17.04.2011, 10:23
Re: CAN SOMEONE EXPLAIN ME - by Stigg - 17.04.2011, 10:29
Re: CAN SOMEONE EXPLAIN ME - by Gangasta300 - 17.04.2011, 10:30
Re: CAN SOMEONE EXPLAIN ME - by Stigg - 17.04.2011, 10:33
Re: CAN SOMEONE EXPLAIN ME - by Drza - 17.04.2011, 10:34
Re: CAN SOMEONE EXPLAIN ME - by Gangasta300 - 17.04.2011, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)