3dtext
#4

Yes that command didnt work and i couldnt download either of the other to as the download link didnt work


Код:
CMD:tlabel(playerid,params[])
{
    new text[64];
	new Float:plocx,Float:plocy,Float:plocz;
	GetPlayerPos(playerid, plocx, plocy, plocz);
    if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params,"s[64]",text))
        return SendClientMessage(playerid,COLOR_RED,"Usage: /tlabel [text]");

    CreateDynamic3DTextLabel(text, COLOR_RED, plocy, plocx, plocz, 40);
    SendClientMessage(playerid, COLOR_WHITE, "You've created a new text label");
    return 1;
}
I even tried to change it around abit but it doesnt create the text in game but i got no errors on script from it...

i added the sendclientmessage to see if the command is being used and that comes up but no text label is created any ideas?
Reply


Messages In This Thread
3dtext - by CSLangdale - 18.06.2016, 07:36
Re: 3dtext - by ToiletDuck - 18.06.2016, 11:17
Re: 3dtext - by TwinkiDaBoss - 18.06.2016, 12:46
Re: 3dtext - by CSLangdale - 20.06.2016, 15:02
Re: 3dtext - by Jf - 20.06.2016, 17:21
Re: 3dtext - by CSLangdale - 21.06.2016, 03:14
Re: 3dtext - by CSLangdale - 22.06.2016, 03:49

Forum Jump:


Users browsing this thread: 1 Guest(s)