22.08.2015, 17:57
Code:
======================== FCNPC Exception Handler =============================== Address: 0x70A71E00 Registers: EAX: 0x00000000 - EBX: 0x00983F00 - ECX: 0x70A7C5B0 - EDX: 0x70A7C590 ESI: 0x022210B4 - EDI: 0x705aee11 - EBP: 0x0018FC68 - ESP: 0x0018FC54 Stack: 0x0: 0x70A78EBE - 0x4: 0x022210B4 - 0x8: 0x022A0BA8 - 0xC: 0x022A0BA8 - 0x10: 0x0018FE24 - 0x14: 0x0018FCC4 0x18: 0x70A72B24 - 0x1C: 0x01F3A6F0 - 0x20: 0x022210B4 Functions: FUNC_CPlayerPool__DeletePlayer: 0x466570 FUNC_CPlayer__Kill: 0x484620 FUNC_CPlayer__EnterVehicle: 0x0 FUNC_CPlayer__ExitVehicle: 0x0 FUNC_CPlayer__SpawnForWorld: 0x486d30 FUNC_GetVehicleModelInfo: 0x488240 FUNC_CConfig__GetValueAsInteger: 0x48b5b0 FUNC_CreateNPC_RPC: 0xffffffd6 FUNC_RakServer__Send: 0x45a260 Pointers: VAR_ServerAuthentication: 0x4f5fe8 VAR_ServerPtr: 0x1f3abb8 VAR_ConfigPtr: 0x1f30db8 VAR_RakPeerPtr: 0x1f38ee8 Offsets: OFFSET_NetVersion: 0xfd9 OFFSET_RemoteSystemManager: 0x33c OFFSET_RemoteSystemSize: 0xcb8 OFFSET_RemoteSystem__ConnectMode: 0xcb0 OFFSET_RemoteSystem__Unknown: 0x0 OFFSET_SendBullet_RPC: 0x0 ======================== FCNPC Exception Handler ===============================
pawn Code:
public OnGameModeInit() {
NPC[NPCreated][n_ID] = FCNPC_Create("TEST");
FCNPC_Spawn(NPC[NPCreated][n_ID], 3, -390.8890, 2181.9202, -13.8000);
FCNPC_SetPosition(NPC[NPCreated][n_ID], -390.8890, 2181.9202, -13.8000);
FCNPC_SetAngle(NPC[NPCreated][n_ID], 260.4644);
FCNPC_SetWeapon(NPC[NPCreated][n_ID], 38);
FCNPC_SetAmmo(NPC[NPCreated][n_ID], 1000);
return 1;
}