09.11.2010, 23:13
Olб pessoal, estou com um problema infernal, toda vez que entro em qualquer carro no meu servidor, da crash!
Tipo, se eu nao for da org, manda a msg, mas acho q й erro como se foзe em RemovePlayerFromVehicle(playerid);
Abre aquela telinha com essas espesificaзхes:
Public OnPlayerEnterVehicle:
Tipo, se eu nao for da org, manda a msg, mas acho q й erro como se foзe em RemovePlayerFromVehicle(playerid);
Abre aquela telinha com essas espesificaзхes:
Код:
Exception At Address: 0x00719176 Registers: EAX: 0x00000000 EBX: 0x0759C100 ECX: 0x0022FAA0 EDX: 0x00000068 ESI: 0x0759C203 EDI: 0x0759CFFF EBP: 0x0759C1E1 ESP: 0x0022FA30 EFLAGS: 0x00210297 Stack: +0000: 0x43764000 0x00000000 0x00000000 0x00000000 +0010: 0x00000000 0x00000000 0x00000000 0x00000000 +0020: 0x00000000 0x0071A2C9 0x0759C203 0x0022FAA0 +0030: 0x00000001 0x0022FA7B 0x43764000 0x440DA125 +0040: 0x77D30554 0x0759C1E1 0x62000000 0x43F7E000 +0050: 0x00000000 0x00000000 0x41080000 0x00000001 +0060: 0x440DA125 0x43F7E000 0x00000000 0xFFFFFFFF +0070: 0x00000000 0x00000000 0x00000000 0x00000000 +0080: 0x00000000 0x00000000 0x00000000 0x00000000 +0090: 0x00000000 0x00000000 0x00000000 0x00000000 +00A0: 0x00000000 0x00000000 0x00000000 0x00000000 +00B0: 0x00000000 0x00000000 0x00000000 0x00000000 +00C0: 0x00000000 0x00000000 0x00000000 0x00000000 +00D0: 0x00000000 0x00000000 0x00000000 0x00000000 +00E0: 0x00000000 0x00000000 0x00000000 0x00000000 +00F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0100: 0x00000000 0x00000000 0x00000000 0x00000000 +0110: 0x00000000 0x00000000 0x00000000 0x00000000 +0120: 0x00000000 0x00000000 0x00000000 0x00000000 +0130: 0x00000000 0x00000000 0x00000000 0x00000000 SCM Op: 0x77E, lDbg: 0 Game Version: US 1.0 State Information: Ped Context: 0 P1 (0,0)
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam[playerid] >= 3)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {}
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Roubo de Veiculo Do Governo"); }
}
if (IsAnAmbulance(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { }
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Roubo de Ambulancia"); }
}
}
return 1;
}