Help please! -
TheSnicky - 08.07.2014
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(25891) : error 028: invalid subscript (not an array or too many subscripts): "Chann"
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(25891) : warning 215: expression has no effect
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(25891) : error 001: expected token: ";", but found "]"
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(25891) : error 029: invalid expression, assumed zero
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(25891) : fatal error 107: too many error messages on one line
The line:
if(PlayerInfo[playerid][pWTc] == 0)
{
format(CmdString, sizeof(CmdString), "~g~Chan: ~g~0");
TextDrawSetString(Chann[playerid], CmdString);
}
if(PlayerInfo[playerid][pWTslot] == 0)
{
format(CmdString, sizeof(CmdString), "~g~Slot: ~g~0");
TextDrawSetString(Slot[playerid], CmdString);
}
__________________________________________________ _________
Please help me solve this!
Re: Help please! -
nmader - 08.07.2014
Can we see your Chann variable defined?
Re: Help please! -
TheSnicky - 08.07.2014
I fixed this but I got a new error please help me!
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : warning 215: expression has no effect
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : error 001: expected token: ";", but found "-string-"
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : warning 215: expression has no effect
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : error 001: expected token: ";", but found ")"
C:\Users\Sale\Desktop\City of Angels Roleplay\gamemodes\NewDawn.pwn(56374) : fatal error 107: too many error messages on one line
The line is:
if(PlayerInfo[playerid][pWT]!=1)
{
SendClientMessage(playerid, COLOR_GREY, ""COLOR_RED"ERROR: You don't have a Walkie Talkie!");
return 1;
}
Re: Help please! -
SHE790 - 08.07.2014
pawn Код:
if(PlayerInfo[playerid][pWT]!=1);
{
SendClientMessage(playerid, COLOR_GREY, ""COLOR_RED"ERROR: You don't have a Walkie Talkie!");
return 1;
}