14.02.2014, 19:06
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:
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.
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);