PDA

View Full Version : Faction Radio Error!


CallumDaBest
06/03/2014, 05:10 PM
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 (c) 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);

CallumDaBest
07/03/2014, 04:14 PM
BUMP

Crazydriver
07/03/2014, 04:24 PM
Do this
#define msg

[CG]Milito
07/03/2014, 05:18 PM
Looks like you didn't create a string named "msg".
Post the whole commmand.

ReD_HunTeR
07/03/2014, 05:26 PM
type new msg[128]; in that command and it will be fixed ;)