08.07.2015, 18:25
if(strcmp(cmd, "/command", true) == 0)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(strfind(pName,"David", true) != -1){
for(new i=0; i<=15; i++){ SendClientMessage(playerid, -1, "Do not nick David!"); }
// function
}
return 1;
}
Command does not work properly.
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(strfind(pName,"David", true) != -1){
for(new i=0; i<=15; i++){ SendClientMessage(playerid, -1, "Do not nick David!"); }
// function
}
return 1;
}
Command does not work properly.
