Attachlabel
#6

Why would you want to pass another argument (which is not format to begin with) to the function? value is already string. You don't need sscanf either (you have used it wrong too because "s" specifier needs length in [] next to it).

pawn Код:
if (isnull(params)) return ... // usage
in strlen function you replace value with params and last:
pawn Код:
playerData[playerid][CustomLabel] = Create3DTextLabel(params, 0xFFDC2EFF, 30.0, 40.0, 50.0, 60.0, -1, 1);
Reply


Messages In This Thread
Attachlabel - by iLearner - 22.09.2016, 13:45
Re: Attachlabel - by StR_MaRy - 22.09.2016, 13:52
Re: Attachlabel - by iLearner - 22.09.2016, 13:56
Re: Attachlabel - by StR_MaRy - 22.09.2016, 13:57
Re: Attachlabel - by iLearner - 22.09.2016, 15:14
Re: Attachlabel - by Konstantinos - 22.09.2016, 15:19
Re: Attachlabel - by iLearner - 22.09.2016, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)