Who get a text of a textdraw...?
#1

Who get a text of a textdraw example:

Textdraw0 = TextDrawCreate(0.000000, 0.000000, "TEST");

attempt with strmid but i cant...

example command:

PHP код:
    if (strcmp("/test"cmdtexttrue10) == 0)
    {
        new 
str[64];
        
format(str,sizeof(str),"%s",Textdraw0);
        if(
strfind(str,"TEST"true) != -1)
        {
            
SendClientMessage(playerid,-1,"Pone TEST");
        }
        else
        {
            
SendClientMessage(playerid,-1,"FAKE");
        }
        return 
1;
    } 
Warning: warning 213: tag mismatch
and not go

Grettims
Reply
#2

Use this tutorial to learn how to do this.
https://sampwiki.blast.hk/wiki/TextDrawSetString
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)