AMX Mod X API Documentation

Signature
native get_pdata_string(entity, offset, dest[], maxlength, byref = 1, linux, mac = cellmin);
Notes
  • NOTE that for the string offsets below, on AMD64, a byref (char **) offset is NOT the same as an int offset

    In fact it's QWORD aligned rather than DWORD aligned, so the offset will be exactly half.

    Gets a string from a private offset. If byref is false, the string is treated as static rather than dynamic.

    linux value is what to add to the offset for linux servers.

    mac value is what to add to the offset for os x servers. Default (cellmin) means that linux value will be used.

    this cannot use a default value due to older version using an awkward default value.

Назад
Верх