03.09.2018, 11:58
I am trying to set a textdraw's string but for some reason it does not work. The textdraws are defined and all it shows is what is defined in the script. Please help,
PHP код:
if(IsPlayerInRangeOfPoint(id,3, factionInfo[i][facX], factionInfo[i][facY],factionInfo[i][facZ]))
{
new stringnamet[34];
format(stringnamet, sizeof(stringnamet), "%s", factionInfo[i][facName]);
new stringownert[34];
format(stringownert, sizeof(stringownert), "%s", factionInfo[i][fOwner]);
TextDrawSetString(STRINGOWNER, stringownert);
TextDrawShowForPlayer(playerid, EMPTYINFOBOX);
TextDrawShowForPlayer(playerid, PROPNAME);
TextDrawShowForPlayer(playerid, STRINGNAME);
TextDrawShowForPlayer(playerid, PROPADD);
TextDrawShowForPlayer(playerid, PROPOWNER);
TextDrawShowForPlayer(playerid, STRINGPROP);
TextDrawShowForPlayer(playerid, STRINGOWNER);
TextDrawShowForPlayer(playerid, PROPINFO);
TextDrawShowForPlayer(playerid, TEXTBOT);
SetTimer("PlayerInfoRangeHide",7000,1);
}
}