09.09.2011, 12:08
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?"
Errors:
Apart from helping my script, It would help me further Understand Format.
Thanks a bunch
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; }
Код:
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. :(
Thanks a bunch