20.06.2016, 15:02
Yes that command didnt work and i couldnt download either of the other to as the download link didnt work
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?
Код:
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 added the sendclientmessage to see if the command is being used and that comes up but no text label is created any ideas?