- Kód: Vybrať všetko
if(!IsPlayerAdmin(playerid))
{
return SendClientMessage(playerid, 0xFF0000AA, "Musíš být RCON admin.");
Tutoriál pro začátečníky, snad jim to pomůže

if(!IsPlayerAdmin(playerid))
{
return SendClientMessage(playerid, 0xFF0000AA, "Musíš být RCON admin.");


public OnRconCommand(cmd[])
{
if(!strcmp(cmd,"Hello",true))
{
SendClientMessageToAll(0xFFFFFFAA,"Hello World!");
print("You said hello to the world.");// This will appear to the player who typed the rcon command in the chat in white
return 1;
}
return 0;
}


if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "Musíš být RCON admin.");

Angelus píše:Načo to dávať na 3 riadky, v pohode to stačí dať na jeden
- Kód: Vybrať všetko
if(!IsPlayerAdmin(playerid)) { return SendClientMessage(playerid, 0xFF0000AA, "Musíš být RCON admin.");

Užívatelia prezerajúci fórum: Žiadny registrovaný užívateľ nie je prítomný a 0 hostia