como seria un comando para mandar mensaje como admin?
#1

Hola, quiero un comando que sea como /rcon say [TEXTO], pero yo quisiera uno igual, pero sin escribir /rcon say text, yo quiero el comando y yo le agregaria un if ya, como seria?
Reply
#2

aqui https://sampforum.blast.hk/showthread.php?tid=518459
Reply
#3

PHP код:
CMD:say(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return 1;
    new 
PlayerName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridPlayerNamesizeof(PlayerName));
    new 
string[144];
    
format(stringsizeof(string), "Admin %s: %s"PlayerNameparams);
    
SendClientMessageToAll(0x66FF00FFstring);
    return 
1;

Reply
#4

Quote:
Originally Posted by PreDoxis
Посмотреть сообщение
PHP код:
CMD:say(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return 1;
    new 
PlayerName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridPlayerNamesizeof(PlayerName));
    new 
string[144];
    
format(stringsizeof(string), "Admin %s: %s"PlayerNameparams);
    
SendClientMessageToAll(0x66FF00FFstring);
    return 
1;

grax, me sirvio, +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)