[Help] Fixing Some Errors
#8

Quote:
Originally Posted by Bible
Посмотреть сообщение
Have you defined the color "red"?

If not add this ontop of your script:
pawn Код:
#define red 0xAA3333AA
And change that line to:

pawn Код:
if(AFK[playerid] == 1) return SendClientMessage(playerid, red, "You can't talk while being AFK.");
in this line
Код:
format(string,sizeof(string),"Player %s (ID: %d) has joined the server", GetName(playerid), playerid);
if i add new string[128] it gives
Код:
local variable "string" shadows a variable at a preceding level
and when i remove new string[128] gives error undefined string so wht to do
Reply


Messages In This Thread
[Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 22:16
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 22:39
Re: [Help] Fixing Some Errors - by AndySedeyn - 01.06.2014, 22:43
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 22:45
Re: [Help] Fixing Some Errors - by AndySedeyn - 01.06.2014, 22:48
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 22:58
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 23:02
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 23:31
Re: [Help] Fixing Some Errors - by Eth - 01.06.2014, 23:38
Re: [Help] Fixing Some Errors - by youssefehab500 - 01.06.2014, 23:48

Forum Jump:


Users browsing this thread: 1 Guest(s)