Format messed up ?[solved]
#3

pawn Код:
format(string,sizeof(string),"%s Admin %s gave weapon id %d with %d ammo to players in range of %d meters."SERVER_NAME,playeridn,gun,ammo,range);
Should be:

pawn Код:
format(string,sizeof(string),"%s Admin %s gave weapon id %d with %d ammo to players in range of %d meters.", SERVER_NAME,playeridn,gun,ammo,range);
You forgot a comma before the "SERVER_NAME".

And I'm guessing that you don't need that SERVER_NAME.

So it should be:

pawn Код:
format(string,sizeof(string),"%s Admin %s gave weapon id %d with %d ammo to players in range of %d meters.", playeridn,gun,ammo,range);
Reply


Messages In This Thread
Format messed up ?[solved] - by InfiniTy. - 30.11.2012, 11:54
Re: Format messed up ? - by Alcatraz Gaming - 30.11.2012, 11:57
Re: Format messed up ? - by gtakillerIV - 30.11.2012, 11:58
Re: Format messed up ? - by Laure - 30.11.2012, 11:58
Re: Format messed up ? - by InfiniTy. - 30.11.2012, 11:59

Forum Jump:


Users browsing this thread: 2 Guest(s)