AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HELP! about format() function (https://forums.alliedmods.net/showthread.php?t=65109)

jhting 01-01-2008 09:28

HELP! about format() function
 
when I use below code (It is from syn.zenith about Checkpoint)
_____________________________________________ _______________
format(menu, MENU_SIZE-1, "\rSyn-Scripts Checkpoint Menu^n\yYou have %d checkpoints^n^n\w%s1. Go to checkpoint^n\w%s2. Save checkpoint^n%s3. Create new checkpoint^n\
\w%s4. Erase checkpoint^n^n%s8. Checkpoint #%d^n^n\w0. Exit", gCheckpoints[id]+1, szColor, szColor, keys &MENU_KEY_3 ? "\w" : "\d", szColor,
keys &MENU_KEY_4 ? "\y" : "\d", checkpoint);
_____________________________________________ ________________

I want change the English menu to Chinese.But when I run the game I cannot save point(use the menu)

why?The format function cannot use others character but Englist character?

I wait your help ! thank you!


All times are GMT -4. The time now is 11:06.

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