entity_set_model should take const strings
This commit is contained in:
parent
3fc4049b0a
commit
a6473737a2
|
@ -131,7 +131,7 @@ native is_valid_ent(iIndex);
|
||||||
native entity_set_origin(iIndex, Float:fNewOrigin[3]);
|
native entity_set_origin(iIndex, Float:fNewOrigin[3]);
|
||||||
|
|
||||||
/* Sets the model of an Entity. */
|
/* Sets the model of an Entity. */
|
||||||
native entity_set_model(iIndex, szModel[]);
|
native entity_set_model(iIndex, const szModel[]);
|
||||||
|
|
||||||
/* Remove an entity from the world. */
|
/* Remove an entity from the world. */
|
||||||
native remove_entity(iIndex);
|
native remove_entity(iIndex);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user