Array must be indexed
#6

Target gets the ID of a user. In your case, you're getting the user's name by inputtext.
pawn Код:
new
    target
;
target = ReturnUser(inputtext);
if(target != INVALID_PLAYER_ID)
If you use on inputtext " ", that means that you're searching for a player named inputtext!
Reply


Messages In This Thread
Array must be indexed - by Mado - 15.12.2012, 09:46
Re: Array must be indexed - by Huxley - 15.12.2012, 09:47
Re: Array must be indexed - by C00K13M0N$73R - 15.12.2012, 09:48
Re: Array must be indexed - by Mado - 15.12.2012, 09:48
Re: Array must be indexed - by C00K13M0N$73R - 15.12.2012, 09:50
Re: Array must be indexed - by Konstantinos - 15.12.2012, 09:51
Re: Array must be indexed - by Mado - 15.12.2012, 10:01
Re: Array must be indexed - by C00K13M0N$73R - 15.12.2012, 10:04
Re: Array must be indexed - by Konstantinos - 15.12.2012, 10:05
Re: Array must be indexed - by ikey07 - 15.12.2012, 10:07

Forum Jump:


Users browsing this thread: 4 Guest(s)