Help Me
#1

PHP код:
CMD:ktext(playeridparams[])
{
    new 
strtext[999],text[50];
    if(
sscanf(params,"s[50]",text)) return SendClientMessage(playerid, -1"Usage:/ktext [Text]");
    
format(strtextsizeof(strtext), ""COL_RED"%s"text);
    
KLBL[playerid] = Create3DTextLabel(strtext,0xFFF000FF,30.0,40.0,50.0,40.0,0);//In This Line
    
Attach3DTextLabelToPlayer(KLBL[playerid], playerid0.00.00.3);//In This Line
    
return 1;

I Got Warning When Compile This Warning Tag Mismatch
Reply
#2

use this
PHP код:
KLBL[playerid] = Create3DTextLabel(strtext,0xFFF000FF,30.0,40.0,50.0,40.0,0,0);
Attach3DTextLabelToPlayer(KLBL[playerid],0.00.00.3); 
Reply
#3

make sure that you defined KLBL variable beside Text3D tag, means it gonna be:
Код:
new Text3D:KLBL[MAX_PLAYERS];
Reply
#4

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
make sure that you defined KLBL variable beside Text3D tag, means it gonna be:
Код:
new Text3D:KLBL[MAX_PLAYERS];
THX ! I Forgot Text:KLBL For Textdraw +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)