SA-MP Forums Archive
Error: can't use k-codes in long string - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error: can't use k-codes in long string (/showthread.php?tid=511979)



Error: can't use k-codes in long string - scott1 - 08.05.2014

What could i do to correct this error

"Error: can't use k-codes in long string"

"~w~Camera du Commisariat,~n~utilisez les ~y~fleches ~w~pour faire pivoter la camera.~n~Appuiez en meme temps sur ~y~~k~~PED_SPRINT~ ~w~pour aller plus vite~n~Utilisez ~y~~k~~PED_FIREWEAPON~ ~w~et ~y~~k~~PED_LOCK_TARGET~ ~w~pour changer de camera.~n~Utilisez ~y~~k~~PED_DUCK~~w~ pour arreter la surveillance."

Tanhk You

Max


Re: Error: can't use k-codes in long string - newbie scripter - 08.05.2014

try using strcat


Re: Error: can't use k-codes in long string - scott1 - 10.05.2014

Same result

Max


Re: Error: can't use k-codes in long string - scott1 - 10.05.2014

So no choise, i have to create 2 texdraw?

Max


Re: Error: can't use k-codes in long string - Lordzy - 10.05.2014

Quote:
Originally Posted by scott1
Посмотреть сообщение
So no choise, i have to create 2 texdraw?

Max
Since a textdraw would support only 256 characters, you've to use another one.