Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

help =)

$
0
0
Help, please. How to make a line transfer and how to make the time displayed from the computer? And yes, why is the line not fully displayed in the /kick command? I kicked with the cause of the test and kicked with the cause of tes.
PHP Code:

CMD:kick(playeridparams[])
{
    new 
string[124],id,reason[20];
    if(
pInfo[playerid][Admin] < 1) return SendClientMessage(playerid0x666699FF"{666699}ÑÈÑÒÅÌÀ{FFFFFF}: Âû íå àäìèíèñòðàòîð, äàííàÿ êîìàíäà âàì íåäîñòóïíà.");
    else if(
sscanf(params,"us[20]",id,reason)) return SendClientMessage(playerid0x666699FF"{666699}ÈÑÏÎËÜÇÓÉÒÅ{FFFFFF}: /kick [id] [ïðè÷èíà]");
    else if(
id == INVALID_PLAYER_ID) return 1;
    
format(string,sizeof(string),"{FFFFFF}Àäìèíèñòðàòîð {666699}%s{FFFFFF} îòêëþ÷èë îò ñåðâåðà {666699}%s{FFFFFF}. Ïðè÷èíà: {666699}%s{FFFFFF}.",pInfo[playerid][Name],pInfo[id][Name],reason);
    
SendClientMessageToAll(0x666699FF,string);
    
Kick(id);
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>