Format Problem
#1

Hi there, Just having a problem with Format. Im not very good at it as All the Examples and small chunks of Tutorial has been hard for me to understand.

Could you please arrange this properly?"
Код:
	iff(strcmp(cmd, "/mats", true) == 0)
 	{
	new mats = PlayerInfo[playerid][pMats];
	SendClientMessage(playerid, COLOR_WHITE, "Amount of Materials....");
        format(string,sizeof(mats),"%s");
        SendClientMessage(playerid, COLOR_WHITE, string);
		return 1;
	}
Errors:
Код:
There isn't a Compiling error.
Its Just that when Im ingame my Materials is Actually like 20 But when string is being sent its just blank.
:(
Apart from helping my script, It would help me further Understand Format.

Thanks a bunch
Reply


Messages In This Thread
Format Problem - by Grant Johnston - 09.09.2011, 12:08
Re: Format Problem - by Bumbis - 09.09.2011, 12:09
Re: Format Problem - by JaTochNietDan - 09.09.2011, 12:14
Re: Format Problem - by iJumbo - 09.09.2011, 12:14
Re: Format Problem - by Grant Johnston - 09.09.2011, 13:15

Forum Jump:


Users browsing this thread: 1 Guest(s)