void cmd_boom ( char *param )
{
struct actor_info *info = actor_info_get( ACTOR_SELF, 0 );
float pPos[3] = {info->step_pos[0], info->step_pos[1], info->step_pos[2]};
struct vehicle_info *vinfo = g_Players->pRemotePlayer[atoi(param)]->pPlayerData->pSAMP_Vehicle->pGTA_Vehicle;
float spd[3] = {0,0,0};
pPos[2] += 50;
SendFakeDriverSyncData( getSAMPVehicleIDFromGTAVehicle(vinfo), pPos, 0.0f, spd, 0);
}
[13:44:54.456] ---------------------------------------------------------------------
[13:44:54.456] mod_sa 4.4.1.2 // blast.hk has crashed.
[13:44:54.456] Base address: 0x05D20000, SA:MP base address: 0x04220000
[13:44:54.456] Exception at address: 0x05D2203F, Last function processed: it_wasnt_us()
[13:44:54.456] Cause: EXCEPTION_ACCESS_VIOLATION
[13:44:54.456] Attempted to read from: 0x0000004c
[13:44:54.456] EAX: 0x00000000 || ESI: 0x0b9dbea8
[13:44:54.456] EBX: 0x0b9dd38c || EDI: 0x0b9dd392
[13:44:54.456] ECX: 0x0177f8e4 || EBP: 0x0177f8f0
[13:44:54.456] EDX: 0x00000008 || ESP: 0x0177f8cc
[13:44:54.456] -------------------------------------
{
struct actor_info *info = actor_info_get( ACTOR_SELF, 0 );
float pPos[3] = {info->step_pos[0], info->step_pos[1], info->step_pos[2]};
struct vehicle_info *vinfo = g_Players->pRemotePlayer[atoi(param)]->pPlayerData->pSAMP_Vehicle->pGTA_Vehicle;
float spd[3] = {0,0,0};
pPos[2] += 50;
SendFakeDriverSyncData( getSAMPVehicleIDFromGTAVehicle(vinfo), pPos, 0.0f, spd, 0);
}
[13:44:54.456] ---------------------------------------------------------------------
[13:44:54.456] mod_sa 4.4.1.2 // blast.hk has crashed.
[13:44:54.456] Base address: 0x05D20000, SA:MP base address: 0x04220000
[13:44:54.456] Exception at address: 0x05D2203F, Last function processed: it_wasnt_us()
[13:44:54.456] Cause: EXCEPTION_ACCESS_VIOLATION
[13:44:54.456] Attempted to read from: 0x0000004c
[13:44:54.456] EAX: 0x00000000 || ESI: 0x0b9dbea8
[13:44:54.456] EBX: 0x0b9dd38c || EDI: 0x0b9dd392
[13:44:54.456] ECX: 0x0177f8e4 || EBP: 0x0177f8f0
[13:44:54.456] EDX: 0x00000008 || ESP: 0x0177f8cc
[13:44:54.456] -------------------------------------