14.08.2011, 16:24
Hello everyone,
Got a little problem. I created a command so I can read player variables:
Sad enough I get the error: error 033: array must be indexed (variable "param"). Any ideas?
Thanks!
Bas
Got a little problem. I created a command so I can read player variables:
pawn Код:
CMD:debug(playerid, params[])
{
new user, param[10];
sscanf(params, "us[10]", user, param);
new message[100];
format(message, sizeof(message), "Userid: %i Param: %s Value: %s", user, param, playerinfo[user][param]);
SendClientMessage(playerid, COLOR_GREY, message);
return 1;
}
Thanks!
Bas