Define Compile error
#5

Quote:
Originally Posted by captainjohn
Посмотреть сообщение
Try this?

pawn Код:
if (IsPlayerNPC(playerid))
{
    SendClientMessage(playerid, COLOR_WHITE, "Welcome to {00FF00}T{FFFFFF}r{FF0000}u{FFFFFF}c{00FF00}k{FFFFFF}i{FF0000}n {FFFFFF}g{00FF00}L{FFFFFF}i{FF0000}f{FFFFFF}e{00FF00}!");
    return 1;
  }
}
That has an extra un-needed closing tag }.

Use this:

pawn Код:
if (IsPlayerNPC(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to {00FF00}T{FFFFFF}r{FF0000}u{FFFFFF}c{00FF00}k{FFFFFF}i{FF0000}n {FFFFFF}g{00FF00}L{FFFFFF}i{FF0000}f{FFFFFF}e{00FF00}!");
Reply


Messages In This Thread
Define Compile error - by Geeboi_Mehdi - 19.01.2013, 14:18
Re: Define Compile error - by MattSlater - 19.01.2013, 14:25
Re: Define Compile error - by HUYA - 19.01.2013, 15:28
Re: Define Compile error - by captainjohn - 19.01.2013, 15:36
Re: Define Compile error - by Kyle - 19.01.2013, 15:38
Re: Define Compile error - by Geeboi_Mehdi - 20.01.2013, 13:51

Forum Jump:


Users browsing this thread: 3 Guest(s)