Pretraga

Pritisnite Enter za pretragu ili Escape za zatvaranje

Pomoc u skripti

pre 8 godina
1,040
pregleda
4
postova
Inas Karahmet
Rookie
pre 8 godina
CMD:goto(playerid, params[])
{

if(UlogovanProvera == 0) return Ulogovan(playerid);
new string, giveplayerid, giveplayer;
new Float:plx,Float:ply,Float:plz;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
if(Vremeposla != 0) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Ne mozes to sad!");
if(PlayerInfo != 0) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Zatvoreni ste!");
if(PlayerInfo != 0) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Imate WL!");
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 2)
{
    if(!sscanf(params, "u", giveplayerid))
{
if(!IsPlayerConnected(giveplayerid)) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Pogresan ID!");
if(PlayerInfo == 1) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Ta osoba speca nekoga!");
if(PlayerInfo == 6) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Nemozete se Portati do Vlasnika!");
if(PlayerInfo != 0) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Ta osoba ima WL!");
if(PlayerInfo != 0) return SCM(playerid, -1, ""ORANGE"#GRESKA:"BELA"Ta osoba je zatvorena!");
GetPlayerPos(giveplayerid, plx, ply, plz);
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plx, ply+4, plz);
}
else
{
SetPlayerPos(playerid,plx,ply+2, plz);
}
SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid));
format(string, sizeof(string),""ORANGE" "BELA"Teleportovao si se do igraca %s.",GetName(giveplayerid));
SCM(playerid, -1, string);
format(string, sizeof(string),""ORANGE" "BELA"Igrac %s se teleportovao do tebe.",GetName(playerid));
SCM(giveplayerid, -1, string);
new strings;
format(strings, sizeof(strings), ""ORANGE""BELA"Igrac %s se teleportao do igraca %s",GetName(playerid),GetName(giveplayerid));
AdminGameMaster(-1, strings);
}
else SCM(playerid, -1,""ORANGE"[ARP - INFO] "BELA"/goto [ID/Nick]");
}
else Ovlasteni(playerid);
return 1;
}

Ovo je goto sistem ali kako da uklonim da vip moze /goto
Inas Karahmet
Rookie
pre 8 godina
AKo ko moze pomoc
tonimacak518
Enforcer
pre 8 godina
http://balkan-samp.com/forum/index.php?board=11.0
Ovde postavi temu pre postavljanja i tamo procitaj pravila kako treba da izgleda formular npr.
Srdjan123
Enforcer
pre 8 godina
nepravilna tema

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava