31.05.2013, 14:30
How can I make an if statement to check if a players name matches the string?
if(!strcmp(string, playername))
{
//if matches
}
else
{
//not matches
}
if(!strcmp(string, "NicholasA")) { SendClientMessageToAll(0x26F70FFF, "it works"); } else { //not matches }