Započeo Jozo.
•7. Okt. 2014.• Zaključano[Pomoc] Oko komande.
214
pregleda
8
postova
Wheel Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
45
Postovi:
16
Teme:
Pridružio se:Apr. 2014
7. Okt. 2014.
Skripta koju koristim: Markos mod o 0
Detaljan opis problema: Ubacio sam komandu xgoto u skriptu,i complaj sam mod i kada odem na server kucam /xgoto ono nece.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema: Ubacio sam komandu xgoto u skriptu,i complaj sam mod i kada odem na server kucam /xgoto ono nece.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Wheel Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
45
Postovi:
16
Teme:
Pridružio se:Apr. 2014
7. Okt. 2014.
CMD:xgoto(playerid, params[])
{
if(PlayerInfo >= 5)
{
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, GROVE, "Koriscenje: \"/xgoto \"");
else
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
SetPlayerPos(playerid, x, y, z);
}
format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
SendClientMessage(playerid, GROVE, string);
}
}
return 1;
}
{
if(PlayerInfo >= 5)
{
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, GROVE, "Koriscenje: \"/xgoto \"");
else
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
SetPlayerPos(playerid, x, y, z);
}
format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
SendClientMessage(playerid, GROVE, string);
}
}
return 1;
}
Crime Lord
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
904
Postovi:
133
Teme:
Pridružio se:Mar. 2014
7. Okt. 2014.
Izvoli
CMD:xgoto(playerid, params[])
{
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) return SendClientMessage(playerid, -1, "Koriscenje: \"/xgoto \"");
if(IsPlayerAdmin(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
SetPlayerPos(playerid, x, y, z);
}
format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
SendClientMessage(playerid, -1, string);
}
else
{
SendClientMessage(playerid,-1,"Nisi Admin lvl 5");
}
return 1;
}
Kingpin
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
190 / 250 XP
Početnik(0)
1,362
Postovi:
4
Teme:
Pridružio se:Apr. 2014
7. Okt. 2014.
CMD:xgoto(playerid, params[])
{
if(PlayerInfo < 5) return SendClientMessage(playerid,GROVE," Nisi ovlascen!");
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, GROVE, "Koriscenje: \"/xgoto \"");
else
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
SetPlayerPos(playerid, x, y, z);
}
format(string, sizeof(string), "Portao si se do kordinata %f, %f, %f", x, y, z);
SendClientMessage(playerid, GROVE, string);
}
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava