Warnings may be causing my crash.
#1

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(34) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2278) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(18580) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      7748 bytes
Code size:      758560 bytes
Data size:     2844424 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5093 cells (20372 bytes)
Total requirements: 3627116 bytes

3 Warnings.

Код:
--------------------------

Exception At Address: 0x0048011B



Registers:

EAX: 0x0012FD68	EBX: 0x02CF1E34	ECX: 0x00000000	EDX: 0x00405910

ESI: 0x00000000	EDI: 0x015DB280	EBP: 0x0012FD78	ESP: 0x0012FD50

EFLAGS: 0x00010286



Stack:

+0000: 0x015DB280  0x015DB280  0x02CF1E34  0xFFFFFFFF

+0010: 0x0012FD50  0x0012F974  0x0012FE24  0x00483C7C

+0020: 0x0049CF30  0xFFFFFFFF  0x02D96544  0x0040591D

+0030: 0x00000000  0x00401096  0x015DB280  0x02F5F6AC

+0040: 0x02DAB104  0x00402BB3  0x015DB280  0x00000007

+0050: 0x0012FDB8  0x02F5F6AC  0x004BB0C8  0x015DB280

+0060: 0x00000001  0x00000000  0x00000000  0x001B45A4

+0070: 0x001B45A8  0x001B4FF0  0x001B0FF4  0x001B4FCC

+0080: 0x001B0FF4  0x02CF1E34  0x02DAB104  0x00000000

+0090: 0x02CF0020  0x000B92D0  0x00461544  0x015DB280

+00A0: 0x0012FE00  0x00000047  0x01BE9B58  0xFFFFFFFF

+00B0: 0x00000047  0x01BE9B58  0x004789D8  0x004BB0C8

+00C0: 0x0049C481  0x01560C51  0xFFFFFFFF  0x00000000

+00D0: 0x015DB280  0x0012FEA4  0x00491B08  0xFFFFFFFF

+00E0: 0x00477E1F  0x00000001  0x00000000  0x00001771

+00F0: 0x0012FF88  0x7FFD4000  0x00004000  0x00010101

+0100: 0x00000032  0x00001E61  0x000000B0  0x00000398

+0110: 0x01BE9B58  0x656D6167  0x65646F6D  0x00003531

+0120: 0x004A6014  0x004A6010  0x7FFD4000  0x00491D80

+0130: 0x0012FE70  0x0012FE6C  0x0012FF78  0x00483C7C
Please help!
Reply
#2

Delete the OnPlayerInfoChange function in your script, and for the OnPlayerPrivmsg function, read this:

http://forum.sa-mp.com/index.php?topic=129766.0
Reply
#3

Done as he said!

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(34) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2278) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Fixed the Private Messaege thing and I deleted OnPlayerInfoChange but I get this error and I think its to do with what i have done with my Private Message. I also have that warning, anyone know what it is and how to fix it?
Reply
#4

OffTopic, Cammy, Check your Private messaging!
Reply
#5

[Off topic - I had to PM you on our forums, this wont let me ]
Reply
#6

Quote:
Originally Posted by CameronF91
[Off topic - I had to PM you on our forums, this wont let me ]
ok,

ONTOPIC: goto pawno and press ctrl + f and search MAX_PICKUPS, then delete that line
Reply
#7

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2277) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Done, now one last error any ideas on how to fix it?
Reply
#8

Quote:
Originally Posted by CameronF91
Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2277) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Done, now one last error any ideas on how to fix it?
Press ctrl + g and type in the line 2277, then copy it here
Reply
#9

Код:
 public OnPlayerPrivmsg(playerid, recieverid, text[])
Reply
#10

This has not been replied to in like 2 weeks?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)