Jump to content
MakeWebGames

once again noob need help


Recommended Posts

Correct me if I am wrong, but I've seen a few sprintf() around on a modification. And most tend to have ( before & ) at the end.

 

Example:

 

echo (sprintf("Rank: %s ", number_format(get_gamerank))); // Code for Crimgame

 

I might just be chatting on, but just curious. :P

I don't think it's necessary because you are echoing the thing, it would be like:

 

echo ('Hello');

 

It isn't needed, only after sprintf, to show that the stuff inside is sprintf.

Link to comment
Share on other sites

echo 'Rank: '.number_format(get_gamerank()).'';
echo 'Rank: '.number_format(get_gamerank());

Try posting the function for us bladewolf.

EDIT:

echo 'Rank: '.number_format(get_gamerank($ir['level'], array($ir['strength'],$ir['agility'],$ir['guard'],$ir['labour'],$ir['IQ'])));
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...