SA-MP Forums Archive
Not Working/Responding - 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: Not Working/Responding (/showthread.php?tid=535854)



Not Working/Responding - Team_PRO - 06.09.2014

i don't know what is wrong with this

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if (!success)
    {
        SendClientMessage(playerid,white,""lgreen"S"lorange"E"lred"R"lyellow"V"lblue"E"lpink"R"lwhite": "lgrey"This command has not found in the System, Please use /cmds(/commands) or /help For more Info.");
    }
    return 1;
}
i got no warnings or something


Re: Not Working/Responding - HazardouS - 06.09.2014

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if (!success)
    {
        SendClientMessage(playerid,white,"{FFFFFF}S{FFFF00}E{FF0000}RVER: This command has not found in the System, Please use /cmds(/commands) or /help For more Info.");
    }
    return 1;
}
Try something like this. You got the point.


Re: Not Working/Responding - Stinged - 06.09.2014

(I think) you should write the defines' names in uppercase.
To make things easier for you, use YSI 4.0 y_colours as they provide every color you need.
https://sampforum.blast.hk/showthread.php?tid=319606
http://y-less.com/YSI/x11.html


Re: Not Working/Responding - Team_PRO - 06.09.2014

Quote:
Originally Posted by HazardouS
Посмотреть сообщение
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if (!success)
    {
        SendClientMessage(playerid,white,"{FFFFFF}S{FFFF00}E{FF0000}RVER: This command has not found in the System, Please use /cmds(/commands) or /help For more Info.");
    }
    return 1;
}
Try something like this. You got the point.
i will try this one

Quote:
Originally Posted by Stinged
Посмотреть сообщение
(I think) you should write the defines' names in uppercase.
To make things easier for you, use YSI 4.0 y_colours as they provide every color you need.
https://sampforum.blast.hk/showthread.php?tid=319606
http://y-less.com/YSI/x11.html
what extactly you mean?