14.06.2018, 00:25
If your first index is always as playerid.
->
[ I dont know if I misunderstood or no D:]
->
PHP Code:
new OBJECTS[MAX_PLAYERS][5];
#define OBJECTS[%0] OBJECTS[playerid][%0]
cmd:object(playerid,params[])
{
objects[0] = createplayerobjectxxx
// now compiler repaced it with objects[player][0] =...
return 1;
}