Faction Radio Error!
#1

Error msg:

Код:
C:\Users\Gamer\Desktop\Goodly\gamemodes\Millenium.pwn(901) : warning 217: loose indentation
C:\Users\Gamer\Desktop\Goodly\gamemodes\Millenium.pwn(907) : error 017: undefined symbol "msg"
C:\Users\Gamer\Desktop\Goodly\gamemodes\Millenium.pwn(907) : error 017: undefined symbol "msg"
C:\Users\Gamer\Desktop\Goodly\gamemodes\Millenium.pwn(907) : error 029: invalid expression, assumed zero
C:\Users\Gamer\Desktop\Goodly\gamemodes\Millenium.pwn(907) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line: 901

Код:
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "(RED) (/r)adio [radio chat]");
Line: 907

Код:
         format(msg, sizeof(msg), "(LSPD-COM) %s %s %s: %s", FRank(playerid), FDivision(playerid), GetNameEx(playerid), params);
Reply
#2

BUMP
Reply
#3

Do this
#define msg
Reply
#4

Looks like you didn't create a string named "msg".
Post the whole commmand.
Reply
#5

type new msg[128]; in that command and it will be fixed
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)