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

Hello people.

In my commands list when i do /cmds it shows me in the textdraw 'Error: can't use k-codes in long string'.

Code:

pawn Код:
if(IsPlayerInAnyVehicle(playerid))
    {
         TH[playerid]="~w~Press ~y~~k~~VEHICLE_HORN~~w~ to hide this box.";
    }
    else
    {
        TH[playerid]="~w~Press ~y~~k~~PED_FIREWEAPON~~w~ to hide this box.";
    }
new str[270], str2[275];
        format(str, sizeof(str), "~n~ ~g~Commands~n~~n~        %s~n~~n~~y~1. ~w~Account~n~~y~2. ~w~Public~n~~y~3. ~w~Messaging~n~~y~4. ~w~Cops ~n~~y~5. ~w~Robbers~n~~y~6. ~w~Medics~n~~y~7. ~w~Houses~n~~y~8. ~w~Businesses~n~~y~9. ~w~Groups~n~~y~10. ~w~Vehicles",TH[playerid]);
        PlayerTextDrawSetString(playerid, CommandsT[playerid], str);
It was working fine before, now when i do /cmds it shows only ''Error: can't use k-codes in long string'." instead of what I wrote in my textdraw.
Reply


Messages In This Thread
Error: can't use k-codes in long string - by GoldZoroGrab - 14.02.2014, 19:06
Re: Error: can't use k-codes in long string - by Sawalha - 14.02.2014, 20:11
Re: Error: can't use k-codes in long string - by CuervO - 14.02.2014, 20:13
Re: Error: can't use k-codes in long string - by GoldZoroGrab - 14.02.2014, 20:56
Re: Error: can't use k-codes in long string - by GoldZoroGrab - 15.02.2014, 09:27

Forum Jump:


Users browsing this thread: 2 Guest(s)