28.07.2010, 03:39
Quote:
|
what is this!
error 033: array must be indexed (variable "playername") |
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.


