[Pomoc] Admini/GameMasters on Duty
966
pregleda
7
postova
27. Sep. 2010.
if (strcmp(cmdtext, "/adminonduty", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo >= 1)
{
SetPlayerColor(playerid, 0x00808000); //boja kojom je oznacen admin
}
else
{
SendClientMessage(playerid, COLOR_GREY, " niste ovlasteni za ovu komandu !");
}
}
return 1;
}mozda ovako?
27. Sep. 2010.
if (strcmp(cmdtext, "/adminoffduty", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo >= 1)
{
SetPlayerColor(playerid, 0xFFFFFF00);
SendClientMessage(playerid, Plava, "Niste vise na duznosti administratora!");
}
else
{
SendClientMessage(playerid, Crvena, " Niste ovlasteni za ovu komandu !");
}
}
return 1;
}a za GMove ako ynas osnove scriptanja skontaces,kako napravit...
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava