28.10.2016, 14:17
(
Последний раз редактировалось NaS; 28.10.2016 в 14:54.
)
Quote:
|
Because IDC must be defined as a textdraw too:
PHP код:
|
The only Tag you have to be careful with is Float, all other Tags in SAMP (Text3D, Menu etc) are just regular IDs like objects and vehicles. Some items have Tags to seperate them for us, but after compiling there is no difference to "normal" IDs. They don't even exist during run-time.
Quote:
|
Thank you very much, I decided to issue.
PHP код:
|
PHP код:
if(clickedid >= TD[GunHome][1] && clickedid <= TD[GunHome][6])
{
new IDC = _:(clickedid - TD[GunHome][1]);
if(IDC == -1) return 1;
printf("%d", IDC);
}
In this example it doesn't matter, but if you are going to use IDC a few times more it's annoying to always put "_:" too.


