Skip to content

Commit 09398ff

Browse files
committed
add default value for origin
1 parent 93f686d commit 09398ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/api_custom_entities.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ native CE_Register (
7575
* @param vOrigin Spawn origin.
7676
* @return Entity index.
7777
*/
78-
native CE_Create(const szName[], const Float:vOrigin[3], bool:temp = true);
78+
native CE_Create(const szName[], const Float:vOrigin[3] = {0.0, 0.0, 0.0}, bool:temp = true);
7979

8080
/*
8181
* Kill entity.

0 commit comments

Comments
 (0)