pWarn in a string? Help?
#2

I don't know what you mean but, try this:
pawn Код:
format(string,sizeof(string),"%s has been warned: %s (%d/4)",GetName(pplayerid),reason);
instead of this:
pawn Код:
format(string,sizeof(string),"%s has been warned: %s (%d/4)",GetName(pplayerid),reason,);
EDIT:
Also you have a decimal place holder but no variable for it. This should fix it:
pawn Код:
format(string,sizeof(string),"%s has been warned: %s (%d/4)",GetName(pplayerid),reason, P_Data[pplayerid][pWarn]);
Reply


Messages In This Thread
pWarn in a string? Help? - by mrsamp - 31.07.2012, 18:48
Re: pWarn in a string? Help? - by DaRealShazz - 31.07.2012, 18:51
Re: pWarn in a string? Help? - by XStormiest - 31.07.2012, 18:53
Re: pWarn in a string? Help? - by mrsamp - 31.07.2012, 18:54
Re: pWarn in a string? Help? - by DaRealShazz - 31.07.2012, 18:56
Re: pWarn in a string? Help? - by mrsamp - 31.07.2012, 18:58
Re: pWarn in a string? Help? - by DaRealShazz - 31.07.2012, 19:01

Forum Jump:


Users browsing this thread: 3 Guest(s)