10.11.2017, 16:17
Sorry for reposting but i was wondering if something like this was possible in pawn:
instead of
Код:
enum CORD
{
Float:X,
Float:Y,
Float:Z,
INT,
VW
}
stock pPos(id ,& CORD:cord)
{
cord[INT] = GetPlayerVirtualWorld(id);
cord[VW] = GetPlayerInterior(id);
GetPlayerPos(id ,cord[X] ,cord[Y] ,cord[Z]);
}
...
new pos[CORD];
pPos(playerid ,pos);
Код:
stock pPos(id ,& Float:x ,& Float:y ,...) ... new pos[CORD]; pPos(playerid ,pos[X] ,pos[Y] ,...);

