08.10.2014, 11:23
Hello, I will create my first plugin.
But I have one problem... the server crash..
Plugin:
Gamemode:
Crash:
But I have one problem... the server crash..
Plugin:
Code:
cell AMX_NATIVE_CALL CheckUser(AMX* amx, cell* params) { logprintf(" Checkuser..."); char name[24]; g_Invoke->callNative(&PAWN::GetPlayerName, params[1], name); logprintf(name); return 1; }
Code:
native CheckUser(playerid); public OnPlayerConnect(playerid) { CheckUser(playerid); }
Code:
SA-MP Server: 0.3z Exception At Address: 0x0F4DE886 Module: (SAMP_Plugin.DLL)