Skip to content

Commit 081a5e5

Browse files
committed
fix native params
1 parent 1698891 commit 081a5e5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

api/custom-entities/include/api_custom_entities.inc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ native CE:CE_RegisterDerived(const szClassname[], const szBase[], bool:bAbstract
3636
*
3737
* @return Entity index
3838
*/
39-
native CE_Create(const szClassname[], const Float:vecOrigin[3] = {0.0, 0.0, 0.0}, bool:bTemp = true);
39+
native CE_Create(const szClassname[], const Float:vecOrigin[] = {0.0, 0.0, 0.0}, bool:bTemp = true);
4040

4141
/**
4242
* Restart entity
@@ -167,7 +167,7 @@ native CE_SetMember(pEntity, const szMember[], any:value, bool:bReplace = true);
167167
* @param szMember Member name
168168
* @param vecOut Output vector
169169
*/
170-
native bool:CE_GetMemberVec(pEntity, const szMember[], Float:vecOut[3]);
170+
native bool:CE_GetMemberVec(pEntity, const szMember[], Float:vecOut[]);
171171

172172
/**
173173
* Sets vector member of an entity
@@ -176,7 +176,7 @@ native bool:CE_GetMemberVec(pEntity, const szMember[], Float:vecOut[3]);
176176
* @param szMember Member name
177177
* @param vecValue Vector to set
178178
*/
179-
native CE_SetMemberVec(pEntity, const szMember[], const Float:vecValue[3], bool:bReplace = true);
179+
native CE_SetMemberVec(pEntity, const szMember[], const Float:vecValue[], bool:bReplace = true);
180180

181181
/**
182182
* Gets string member of an entity
@@ -216,3 +216,5 @@ native any:CE_CallMethod(pEntity, const szMethod[], any:...);
216216
* @return Method return value
217217
*/
218218
native any:CE_CallBaseMethod(any:...);
219+
220+
native CE_GetCallPluginId();

0 commit comments

Comments
 (0)