Unable to find native "GetPlayerName"
#1

Code:
int amxIdx;
amx_FindNative(AMX, "GetPlayerName", &amxIdx);
I got 2147483647. Why?

For example, for IsPlayerConnected and GetPlayerMoney this code gives valid amxIdx.

Tried on 0.3a R3 and R4...
Reply
#2

I'm pretty new to these other languages, but GetPlayerName doesn't return an int...
Reply
#3

Quote:
Originally Posted by Calon
I'm pretty new to these other languages, but GetPlayerName doesn't return an int...
He's talking about something different.

Make sure you have used the native in the filterscript the pointer 'AMX' points to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)