23.09.2010, 16:22
(
Последний раз редактировалось dugi; 28.09.2010 в 21:12.
)
Sorry for my poor English.
I'm writing a plugin, and I want to call some functions that's in PAWN.
Now I had get the "pAMX" from "AmxLoad"
But when i use amx_FindNative to find "SendRconCommand", it return 2147483647.
And "SetPlayerPos" works, it return 17.
So I still wonder what the problem.
Thanks!
//----------------------------------------------------------------------------------------
thanks to mk124, he pointed that I have to use SendRconCommand in a amx and then load it.
When called AmxLoad, point the pAMX to the interface amx, and anything works well.
Also thanks who replyed this post.
I'm writing a plugin, and I want to call some functions that's in PAWN.
Now I had get the "pAMX" from "AmxLoad"
But when i use amx_FindNative to find "SendRconCommand", it return 2147483647.
And "SetPlayerPos" works, it return 17.
So I still wonder what the problem.
Thanks!
//----------------------------------------------------------------------------------------
thanks to mk124, he pointed that I have to use SendRconCommand in a amx and then load it.
When called AmxLoad, point the pAMX to the interface amx, and anything works well.
Also thanks who replyed this post.