15.12.2014, 16:31
Hello,
I was wondering, is there a way to get the actual value/ID of a Textdraw?
I have got a lot of clickable textdraws and I want to use a switch-function instead of 'if-statements' to scroll through the 'clickedid's'. But using this
Gives me 'must be constant expression; assumed zero' errors.
Anyone knows how to get the actual ID of a textdraw?
I was wondering, is there a way to get the actual value/ID of a Textdraw?
I have got a lot of clickable textdraws and I want to use a switch-function instead of 'if-statements' to scroll through the 'clickedid's'. But using this
pawn Код:
switch(clickedid) (or (Text:clickedid) )
{
case Textdraw16: (or case Text:Textdraw16: )
{
//
}
case Textdraw20:
{
//
}
}
Anyone knows how to get the actual ID of a textdraw?