This should go under the command text:
Код:
if(GetPlayerSkin(playerid) != 165)
{
SendClientMessage(playerid, //color here, "You Are Not A Paramedic!");
return 1;
}
else
{
SetPlayerHealth(id, 100.0);
SendClientMessage(playerid, //color here, "You have been healed by a paramedic");
}
}
return 1;
}
But, you may want to script a function to get the Return user.