• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Pawno freezes upon compile
#1
The short story is i saved this gamemode i started writing from scratch and i wanted to check it out again and maybe script a little more, i set everything up, latest server files, latest plugins and includes but for some reason (i believe its compatibility or something because it works properly on win7) it freezes when i hit compile. I tried other gamemodes and for some reason it works for them. Now i also tried zeexs latest compiler and it gives me bunch of warnings which i'll list below, i tried #pragma compat 1 but that doesn't seem to work. The gamemode compiles to an amx but its corrupted and won't run.
Code:
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(443) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(700) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(700) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(700) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(784) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(784) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(784) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(790) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(790) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(790) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(795) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(809) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(809) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(809) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(816) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(816) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(816) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(823) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(823) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(823) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(831) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(831) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(831) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(831) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(837) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(837) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(837) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(837) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(843) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(843) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(843) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(843) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(997) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(997) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(997) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1003) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1003) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1003) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1085) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1085) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1085) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1093) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1093) : warning 239: literal array/string passed to a non-const parameter
C:\Users\colic\Desktop\samp_server\gamemodes\mfunserver.pwn(1093) : warning 239: literal array/string passed to a non-const parameter
Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase


45 Warnings.
EDIT:
Found the solution by googling the warning and a thread from this forum came up.
Away
  Reply


Messages In This Thread
Pawno freezes upon compile - by Miki - 2020-11-11, 07:50 AM
RE: Pawno freezes upon compile - by BoNNe - 2020-11-12, 10:57 AM
RE: Pawno freezes upon compile - by BigETI - 2020-11-12, 11:10 AM
RE: Pawno freezes upon compile - by Miki - 2020-11-13, 08:13 AM
RE: Pawno freezes upon compile - by BigETI - 2020-11-13, 01:30 PM
RE: Pawno freezes upon compile - by Pinch - 2020-11-13, 01:25 PM
RE: Pawno freezes upon compile - by Miki - 2020-11-13, 08:49 PM

Forum Jump: