20.06.2010, 11:00
Use format.
YourString - String that's getting compiled from the result.
128 - The maximum size.
resultsplit[First dimension] - The two dimension array that you would use for integers and floats. ( strval(resultsplit[dfskdksjf]);
Here's an example of one of my MySQL loadings..
pawn Код:
format(YourString, 128, resultsplit[blahblah]);
128 - The maximum size.
resultsplit[First dimension] - The two dimension array that you would use for integers and floats. ( strval(resultsplit[dfskdksjf]);
Here's an example of one of my MySQL loadings..
pawn Код:
format(FactionData[fid][fMOTD], 128, fsplit[3]);
FactionData[fid][fAreaColor] = strval(fsplit[4]);