14.08.2010, 16:42
@CarltonTheGG
Yes I know
Ryder the if purpose not work code does
Ryder_DraKoN_CarltonTheGG
Output
Ryder DraKoN_CarltonTheGG
Not everything goes
My code works well.. (more is slower 4x..,LoL)
Time of Functions:
Ryder 0.39 Milesceconds
My 0.129 Milesceconds
_______________________________
#MyCode
Example:
Output:
DraKoN -> OraKoN
Yes I know
Ryder the if purpose not work code does
Ryder_DraKoN_CarltonTheGG
Output
Ryder DraKoN_CarltonTheGG
Not everything goes
My code works well.. (more is slower 4x..,LoL)
Time of Functions:
Ryder 0.39 Milesceconds
My 0.129 Milesceconds
_______________________________
#MyCode
pawn Код:
#define replaceonecar(%1,%2,%3)\
for(new i = 0, j = strlen(%1); i <= j; ++ i)\
if(%1[i] == '%2')\
%1[i] = '%3';
pawn Код:
replaceonecar(string,D,O);//Use
DraKoN -> OraKoN