View Single Post
Old 07/01/2016, 10:00 PM   #2
Darkwood17
Huge Clucker
 
Join Date: Oct 2014
Posts: 305
Reputation: 52
Default Re: Comparing 2 strings

Code:
CMD:kill(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name,HouseInfo[79][hOwner], true) == 0) return SendClientMessage(playerid, -1, "match");
else SendClientMessage(playerid, -1, "dont match");
return 1;
}
Simple
Darkwood17 is offline   Reply With Quote