24.10.2018, 19:34
pawn Код:
else if(!strcmp(settings, "Radio", true))
{
if(!PlayerHasItem(playerid,"Statie Radio")) return SendClientMessage(playerid, -1, "You don't have radio");
new str[128];
if(pInfo[playerid][rChat] == 1)
{
pInfo[playerid][rChat] = 0;
format(str, sizeof(str), "* %s uses fingers and clicks ON.", PlayerName(playerid));
ProxDetector(30, playerid, str, COLOR_PURPLE);
}
else
{
pInfo[playerid][rChat] = 1;
format(str, sizeof(str), "* %s uses fingers and cliks OFF.", PlayerName(playerid));
ProxDetector(30, playerid, str, COLOR_PURPLE);
}
return 1;
}