Pomoc kako da stavim da nijedan admina ,gm,i admin 1337,1338 DA NEMOZE DA SE PORT DO HEAD ADMINA DA MU PISE DA NEMOZE DA SE PORT DO HEAD ADMINA
A DA MOZE DO STALIH SAMO DA NEMOZE DO HEAD ADMINA
[Pomoc]Admin
1,552
pregleda
15
postova
24. Jan. 2011.
daj nam komandu za port da mozemo uskladiti i postati ti je natrag...
ali mislim da ti je to glupo, ako imas dobre admine i kazes im da se ne portaju onda ti netreba ta komanda jer nikada neznas kada ce ti zatrebati...
admini su po meni netko ko pravi red na serveru, ukoliko igrac nije sposoban biti admin buce gamemaster, ako ni to bice obican igrac...
nekada ti na sevreru nisu najbitniji igraci, bitno je imati dobre adminei gm, ako su oni u kurcu pozdravi se sa serverom stoga mislim da ti je ova komanda koju si sada pitao bezveze, al ukoliko zelis salji je u PM pa cu ti je ja napraviti 🙂
takoder i za sve ostalo sto budes trebao 😄
ali mislim da ti je to glupo, ako imas dobre admine i kazes im da se ne portaju onda ti netreba ta komanda jer nikada neznas kada ce ti zatrebati...
admini su po meni netko ko pravi red na serveru, ukoliko igrac nije sposoban biti admin buce gamemaster, ako ni to bice obican igrac...
nekada ti na sevreru nisu najbitniji igraci, bitno je imati dobre adminei gm, ako su oni u kurcu pozdravi se sa serverom stoga mislim da ti je ova komanda koju si sada pitao bezveze, al ukoliko zelis salji je u PM pa cu ti je ja napraviti 🙂
takoder i za sve ostalo sto budes trebao 😄
25. Jan. 2011.
stavi komandu "/goto"
Nema potrebe za CAPS-om :-*
Quote from January 25, 2011, 10:55 am:
DA SI STAIVO KOMANDU POMOGLI BI TI
Nema potrebe za CAPS-om :-*
25. Jan. 2011.
Quote from January 25, 2011, 11:12 am:
daj nemojte me jebati to mi je hitno, L!
Quote from January 25, 2011, 11:01 am:
stavi komandu "/goto"
Postavi nam ju ovdje, kopiraj iz moda....
25. Jan. 2011.
ewo
//goto lista
if(strcmp(cmd, "/gotolist", true) == 0)
{
if (PlayerInfo >= 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotols, gotosf, gotolv, gotobolnica, gotoburg");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotoswat, gotospawn, gotostunt");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotocross, gotocross1, gotohell, gotohell1");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotorace, gotomonster, gotosurvivor");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
}
}
//spawn vozila za trke
if(strcmp(cmd, "/vozila", true) == 0)
{
if (PlayerInfo >= 2)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Vozila za Trke", "Cross Motori\nAero Race Motori\nAero Race Auta\nBeach Buggy\nMonster Truck\nDestruction Derby\nStunt Cross\nSurvivor Motori\nNovi Race", "Stvori", "Odustani");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
//goto lista
if(strcmp(cmd, "/gotolist", true) == 0)
{
if (PlayerInfo >= 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotols, gotosf, gotolv, gotobolnica, gotoburg");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotoswat, gotospawn, gotostunt");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotocross, gotocross1, gotohell, gotohell1");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotorace, gotomonster, gotosurvivor");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
}
}
//spawn vozila za trke
if(strcmp(cmd, "/vozila", true) == 0)
{
if (PlayerInfo >= 2)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Vozila za Trke", "Cross Motori\nAero Race Motori\nAero Race Auta\nBeach Buggy\nMonster Truck\nDestruction Derby\nStunt Cross\nSurvivor Motori\nNovi Race", "Stvori", "Odustani");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
25. Jan. 2011.
if(strcmp(cmd, "/goto", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /goto [ID Igraca/Dio Imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
if (IsPlayerConnected(plo))
{
if(plo != INVALID_PLAYER_ID)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste ovlasteni da koristite tu komandu!");
}
}
}
else
{
format(string, sizeof(string), " %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /goto [ID Igraca/Dio Imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
if (IsPlayerConnected(plo))
{
if(plo != INVALID_PLAYER_ID)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste ovlasteni da koristite tu komandu!");
}
}
}
else
{
format(string, sizeof(string), " %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
25. Jan. 2011.
eto:
if(strcmp(cmd, "/goto", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /goto [ID Igraca/Dio Imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
if (IsPlayerConnected(plo))
{
if(plo != INVALID_PLAYER_ID)
{
if (PlayerInfo == 1337 || PlayerInfo == 1338) return SendClientMessage(playerid,COLOR_RED,"Nemozes se portati do head admina!");
if (PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste ovlasteni da koristite tu komandu!");
}
}
}
else
{
format(string, sizeof(string), " %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}25. Jan. 2011.
Quote from January 25, 2011, 11:48 am:
Jesi dodao sam ovo:
if (PlayerInfo == 1337 || PlayerInfo == 1338) return SendClientMessage(playerid,COLOR_RED,"Nemozes se portati do head admina!"); Da, dodo sam samo to... To je on trazio...
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava