Question about Text: clickedid
#5

Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
clickedid is a textdraw. You can forcefully remove the tag by doing:
PHP код:
printf("%d"_:clickedid); 
But I doubt that will give you the correct results. Give it a shot.
I incorrectly stated your question, in this case, it will work without warning
PHP код:
printf("%d"_:clickedid); 
But what to do if you want to compare ?

PHP код:
    if(clickedid >= TD[GunHome][1] && clickedid <= TD[GunHome][6]) 
    { 
        new 
IDC = [B]clickedid[/B] - TD[GunHome][1]; 
        if(
IDC == -1) return 1
        
printf("%d"IDC); 
    } 
If you delete a tag, it will be warning 213: tag mismatch
PHP код:
new IDC = [B]_:clickedid[/B] - TD[GunHome][1]; 
Sorry for my last question wrong
Reply


Messages In This Thread
Question about Text: clickedid - by vasyok28 - 28.10.2016, 09:32
Re: Question about Text: clickedid - by iLearner - 28.10.2016, 09:34
Re: Question about Text: clickedid - by AndySedeyn - 28.10.2016, 09:38
Re: Question about Text: clickedid - by vasyok28 - 28.10.2016, 09:39
Re: Question about Text: clickedid - by vasyok28 - 28.10.2016, 09:48
Re: Question about Text: clickedid - by AndySedeyn - 28.10.2016, 09:57
Re: Question about Text: clickedid - by vasyok28 - 28.10.2016, 10:01
Re: Question about Text: clickedid - by NaS - 28.10.2016, 14:17
Re: Question about Text: clickedid - by AndySedeyn - 28.10.2016, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)