13.02.2013, 16:28
I have this pawn code
I want this message in "red" color as you can see, but when I try to change it to "red" with all ways, it fail.
Anyone can help me with this?
Quote:
#include <a_samp> public OnRconLoginAttempt(ip[], password[], success) { if(!success) //If the password was incorrect { printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password); new pip[16]; for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players { GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) //If a player's IP is the IP that failed the login { SendClientMessage(i, 0xFF0000, "You has been banned, REASON: Attemp to log in the rcon, you can make a Ban Appeal in ranchohippie.createaforum.com"); //Send a message Ban(i); //They are now banned. } } } return 1; } |
Anyone can help me with this?