28.10.2013, 02:08
pawn Код:
if(!strcmp(name(playerid),"[COD]Alex",true)) // for me it's :
// if he logging to the server and he don't have [COD]Alex (because of !strcmp)
{ //
// send the message
SendClientMessageToAll(COLOR,"blabla"); //
return 1; //
} //
// try like this
if(strcmp(name,"[COD]Alex",true)) // for me it's :
// if he logging to the server and he have [COD]Alex (because of strcmp)
{ //
// send the message
SendClientMessageToAll(COLOR,"blabla"); //
return 1; //
}
else // is name is not [COD]Alex
{ //
SendClientMessageToAll(COLOR, "blabla"); //
return 1; //
}//