mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed entity_set_string to take const strings
This commit is contained in:
parent
ca0c0bfce2
commit
5967f7d951
@ -104,7 +104,7 @@ native entity_set_vector(iIndex, iKey, Float:vNewVector[3]);
|
|||||||
native entity_get_edict(iIndex, iKey);
|
native entity_get_edict(iIndex, iKey);
|
||||||
native entity_set_edict(iIndex, iKey, iNewIndex);
|
native entity_set_edict(iIndex, iKey, iNewIndex);
|
||||||
native entity_get_string(iIndex, iKey, szReturn[], iRetLen);
|
native entity_get_string(iIndex, iKey, szReturn[], iRetLen);
|
||||||
native entity_set_string(iIndex, iKey, szNewVal[]);
|
native entity_set_string(iIndex, iKey, const szNewVal[]);
|
||||||
native entity_get_byte(iIndex, iKey);
|
native entity_get_byte(iIndex, iKey);
|
||||||
native entity_set_byte(iIndex, iKey, iVal);
|
native entity_set_byte(iIndex, iKey, iVal);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user