07.07.2010, 20:36
I am trying to call sa-mp function with my plugin,but it crashes server.
I made global 'AMX * amx;', Then in function:
I tried it with local 'AMX amx', and
But nothing changes. Any ideas?
I made global 'AMX * amx;', Then in function:
pawn Код:
amx_FindNative ( amx, "GetPlayerPos", &idx );
pawn Код:
amx_FindNative ( &amx, "GetPlayerPos", &idx );