13.10.2012, 07:47
Who get a text of a textdraw example:
Textdraw0 = TextDrawCreate(0.000000, 0.000000, "TEST");
attempt with strmid but i cant...
example command:
Warning: warning 213: tag mismatch
and not go
Grettims
Textdraw0 = TextDrawCreate(0.000000, 0.000000, "TEST");
attempt with strmid but i cant...
example command:
PHP код:
if (strcmp("/test", cmdtext, true, 10) == 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;
}
and not go
Grettims