can i ask
#7

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
what is this!

error 033: array must be indexed (variable "playername")
If something needs to be indexed, it is most likely trying to be assigned some sort of string or something...
According to the code, playername is trying to be assigned the id of the typed user(tmp); playername doesn't need to be indexed for this. If you want the name of this id, you would later have to make a new variable and index THAT(new name[20] Then use GetPlayerName(playername,name,sizeof(name));. If Im wrong then its because strtok is annoying AS HELL and you should switch to dcmd/zcmd and sscanf.
Reply


Messages In This Thread
can i ask - by willsuckformoney - 28.07.2010, 03:15
Re: can i ask - by Kar - 28.07.2010, 03:19
Re: can i ask - by willsuckformoney - 28.07.2010, 03:21
Re: can i ask - by Kar - 28.07.2010, 03:23
Re: can i ask - by willsuckformoney - 28.07.2010, 03:26
Re: can i ask - by Kar - 28.07.2010, 03:31
Re: can i ask - by mastasquizy - 28.07.2010, 03:39
Re: can i ask - by willsuckformoney - 28.07.2010, 03:39
Re: can i ask - by Zamaroht - 28.07.2010, 03:42
Re: can i ask - by mastasquizy - 28.07.2010, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)