What is wrong with this string?
#1

Ok so im stuttering all day with this stupid string so i got this:
pawn Код:
format(RouteText, 255, TXT_Paramedic, Load, StartLoc, EndLoc);
And the file with the text:
pawn Код:
#define TXT_Paramedic "~w~Get the ~b~%s~w~ from ~r~%s to ~w~%s~w~"
But the problem is it keeps giving the old string wich was called TXT_HaulingCargoFromToDeliver
Код:
#define TXT_HaulingCargoFromToDeliver "~w~Hauling ~b~%s~w~ from %s to ~r~%s~w~"
But i want it to show the paramedic thing what is wrong? i dont understand!
Reply
#2

pawn Код:
new string[128];
format(string, sizeof string, "Get the %s from %s to %s", Load, StartLoc, EndLoc);
I would use something like this. You can add colors with {color}.
I am not sure if this is working for you, because I only see a very small part of your script. So it's hard to find out what you exactly want.
Reply
#3

you changed RouteText at the wrong place.. find it somewhere else
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)