Faction Radio Error! - 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)
+--- Thread: Faction Radio Error! (
/showthread.php?tid=499112)
Faction Radio Error! -
CallumDaBest - 06.03.2014
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);
Re: Faction Radio Error! -
CallumDaBest - 07.03.2014
BUMP
Re: Faction Radio Error! -
Crazydriver - 07.03.2014
Do this
#define msg
Respuesta: Faction Radio Error! -
[CG]Milito - 07.03.2014
Looks like you didn't create a string named "msg".
Post the whole commmand.
Re: Faction Radio Error! -
ReD_HunTeR - 07.03.2014
type new msg[128]; in that command and it will be fixed