24.06.2011, 13:33
strfind(params,"*") should be "strfind(params, "*") != -1" (as all the rest^^ I guess you simply forgot it there)..
and for the textdraw:
TextDrawSetString does not replace TextDrawShowForAll.
TextDrawSetString will only change the text of the textdraw, however will not make it appear.
TextDrawShowForAll (or TextDrawShowForPlayer) are always used to make them appear.
However: If the textdraw is already visible, you will not need another "TextDrawShowForAll" after using "TextDrawSetString"
and for the textdraw:
TextDrawSetString does not replace TextDrawShowForAll.
TextDrawSetString will only change the text of the textdraw, however will not make it appear.
TextDrawShowForAll (or TextDrawShowForPlayer) are always used to make them appear.
However: If the textdraw is already visible, you will not need another "TextDrawShowForAll" after using "TextDrawSetString"