[CRASH] Checkpoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [CRASH] Checkpoint (
/showthread.php?tid=202175)
[CRASH] Checkpoint -
cepiokas - 23.12.2010
Since 0.3c, when i passed through last, finish checkpoint with vehicle i'm get this error
Код:
SA-MP 0.3c
Exception At Address: 0x00727B45
Registers:
EAX: 0x42C80000 EBX: 0x00BA0002 ECX: 0x00C71AD0 EDX: 0x00C6E339
ESI: 0x00BAAF40 EDI: 0x00000000 EBP: 0x00BAE483 ESP: 0x0022FB9C
EFLAGS: 0x00210206
Stack:
+0000: 0x00719867 0x00BA0002 0xFFE1E1E1 0x43A15311
+0010: 0x0071A01D 0x00BAAF61 0x0022FBDC 0x00000000
+0020: 0x00719F48 0x00000000 0x00BAAF40 0x00BAE483
+0030: 0x00BA0002 0xFF000000 0x00000000 0x00719DE7
+0040: 0x43093FFE 0x438FF925 0x00BAAF40 0x00000000
+0050: 0x00000000 0x43F00000 0x00BAE483 0x00BAAF40
+0060: 0x00BAAF00 0xFFE1E1E1 0x00000000 0x0071A56A
+0070: 0x430C3FFE 0x43915000 0xFFE1E1E1 0x40000000
+0080: 0x00000000 0x43F00000 0x43915000 0x7E42DEB2
+0090: 0x00BAAF40 0x67C08000 0x4429E001 0x430C3FFE
+00A0: 0x00000001 0x4429E001 0x00000002 0x43915000
+00B0: 0x441B799B 0x00C7DE28 0xFFE1E1E1 0x00000001
+00C0: 0x00000001 0x00724D4F 0x00C7DE28 0x00C7DDF8
+00D0: 0x00725921 0x4491FDA2 0x44AC90E7 0x4126B119
+00E0: 0x40000000 0x00BA873E 0xF4A460FF 0x7E42DEB2
+00F0: 0x00000001 0x026D7C30 0x00000000 0x4491FDA2
+0100: 0x44AC90E7 0x4126B119 0x452879FC 0xC4D51604
+0110: 0x412D8106 0x00000000 0x00B7CD98 0x0000021B
+0120: 0x0072859C 0x00000001 0x00000000 0x00000005
+0130: 0x00C80468 0x00000004 0x00584954 0x430DCD7C
+0140: 0x4400E8D9 0x00000000 0x4402BA3A 0x00725BF5
+0150: 0x00020001 0x41600000 0xC4D51604 0x40000000
+0160: 0x000000FF 0x00000000 0x00000000 0x0000004C
+0170: 0x00000800 0x3E4CCCCD 0x00000001 0x00000000
+0180: 0x00000000 0x00000000 0x00000000 0x00585CE9
+0190: 0x00020001 0x00000001 0x00BA8720 0x40000000
+01A0: 0x000000FF 0x02293CF4 0x000001F4 0x00585C2C
+01B0: 0x000001F4 0x00000001 0x00000000 0x0000001A
+01C0: 0x0071A807 0x00000001 0x43F00000 0x43915000
+01D0: 0x00BAAF40 0x0000001A 0x00000000 0x00000000
+01E0: 0x000000E1 0x000000E1 0x000000E1 0x000000FF
+01F0: 0x0058D21F 0x43F00000 0x43915000 0x00BAAF40
+0200: 0x0058FD06 0x000001E0 0x0053E504 0x00000001
+0210: 0x00000001 0x7E42DEB2 0x0022FDC8 0x00000000
+0220: 0x80002109 0x00B6F028 0x022E2261 0x0000001A
+0230: 0x00000001 0x00000000 0x0053EB17 0x43F00000
+0240: 0x43960000 0x0053ECC2 0x00000001 0x00619B71
+0250: 0x0000001A 0x00000001 0x00000001 0x0000000A
+0260: 0x00748DA0 0x0000001A 0x00000001 0x7C80B741
+0270: 0x00000000 0x0022FFC0 0x7FFDC000 0x01250000
SCM Op: 0x77E, lDbg: 0
Game Version: US 1.0
State Information: Ped Context: 0
Re: [CRASH] Checkpoint -
Sascha - 23.12.2010
Post the code of what should be done when passing the last checkpoint...
Re: [CRASH] Checkpoint -
cepiokas - 23.12.2010
Код:
new Float:mHP;
new vehicleid = GetPlayerVehicleID(playerid);
GetVehicleHealth(vehicleid,mHP);
RemovePlayerFromVehicle(playerid);
zInfo[playerid][Checkpoint] = -1;
zInfo[playerid][DMW] = false;
DisablePlayerRaceCheckpoint(playerid);
if(mHP < 900) return GameTextForPlayer(playerid,"~w~not passed",3000,5);
zInfo[playerid][License] = true;
GameTextForPlayer(playerid,"~w~passed~",3000,5);
Re: [CRASH] Checkpoint -
Gavibro - 23.12.2010
Funny
![Cheesy](images/smilies/biggrin.png)
...
GameTextForPlayer(playerid,"~w~passed~",3000,5);
Info:If you use a single ~ in a GameText ,game got a nice crash.So
GameTextForPlayer(playerid,"~w~passed",3000,5);