AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED (by EMP)] Little question :D (Len + formatex) (https://forums.alliedmods.net/showthread.php?t=93725)

crazyeffect 06-01-2009 13:07

[SOLVED (by EMP)] Little question :D (Len + formatex)
 
Is this the right way to make it multilangual?

I'm not sure, but i suppose :D

PHP Code:

 new Temp[32]
 
formatex(Temp31"%L:<br>"id"BTK");
 
len += formatex(msg[len], SIZE lenTemp);^ 


xPaw 06-01-2009 13:32

Re: Little question :D (Len + formatex)
 
why not?

Emp` 06-01-2009 15:43

Re: Little question :D (Len + formatex)
 
That is redundant, you can just do:
Code:

len += formatex(msg[len], SIZE - len, "%L:<br>", id, "BTK");

crazyeffect 06-02-2009 11:38

Re: Little question :D (Len + formatex)
 
Ok, thanks :D


All times are GMT -4. The time now is 13:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.