Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Andrijevic SKAMER poslato April 16, 2017, 19:35:42 POSLE PODNE

Naslov: [HELP]: Float Poz
Poruka od: Andrijevic SKAMER poslato April 16, 2017, 19:35:42 POSLE PODNE
Skripta koju koristim: Underpoint
Detaljan opis problema: Lepo napravim new Float:Poz[3]; i neke errore baca nmp..
Dio skripte: [pawn]YCMD:ubacigajbicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,CRVENA"ODRP: "BELA"Moras se ulogovati da bi koristio ovu komandu!");
if(IsPlayerAttachedObjectSlotUsed(playerid, GUDRA))
new Float:Poz[3]; GetVehiclePos(GetClosestVehicle(playerid), Poz[0], Poz[1], Poz[2]);
if(!IsPlayerInRangeOfPoint(playerid, 5.0, Poz[0], Poz[1], Poz[2])) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombja od Crips Gang-a");
if(!CRIPSAuta(GetClosestVehicle(playerid))) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombija od Crips Gang-a!");
OnePlayAnim(playerid, "CARRY", "crry_prtial", 4.1, 0, 1, 1, 1, 1); ClearAnimations(playerid);
RemovePlayerAttachedObject(playerid,GUDRA);
SetTimerEx("DrogaSistem", 200, false, "d", playerid);
return 1;
}[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://prntscr.com/ex51nw

15581 linija - new Float:Poz[3]; GetVehiclePos(GetClosestVehicle(playerid), Poz[0], Poz[1], Poz[2]);
Naslov: Odg: [HELP]: Float Poz
Poruka od: Simi poslato April 16, 2017, 19:45:16 POSLE PODNE

Probaj ovo

[pawn]YCMD:ubacigajbicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,CRVENA"ODRP: "BELA"Moras se ulogovati da bi koristio ovu komandu!");
if(IsPlayerAttachedObjectSlotUsed(playerid, GUDRA))
new Float:Poz[3]; GetVehiclePos(playerid, Poz[0], Poz[1], Poz[2]);
if(!IsPlayerInRangeOfPoint(playerid, 5.0, Poz[0], Poz[1], Poz[2])) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombja od Crips Gang-a");
if(!CRIPSAuta(GetClosestVehicle(playerid))) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombija od Crips Gang-a!");
OnePlayAnim(playerid, "CARRY", "crry_prtial", 4.1, 0, 1, 1, 1, 1); ClearAnimations(playerid);
RemovePlayerAttachedObject(playerid,GUDRA);
SetTimerEx("DrogaSistem", 200, false, "d", playerid);
return 1;
}[/pawn]
Naslov: Odg: [HELP]: Float Poz
Poruka od: Andrijevic SKAMER poslato April 16, 2017, 20:15:43 POSLE PODNE
Citat: Simi poslato April 16, 2017, 19:45:16 POSLE PODNE

Probaj ovo

[pawn]YCMD:ubacigajbicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,CRVENA"ODRP: "BELA"Moras se ulogovati da bi koristio ovu komandu!");
if(IsPlayerAttachedObjectSlotUsed(playerid, GUDRA))
new Float:Poz[3]; GetVehiclePos(playerid, Poz[0], Poz[1], Poz[2]);
if(!IsPlayerInRangeOfPoint(playerid, 5.0, Poz[0], Poz[1], Poz[2])) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombja od Crips Gang-a");
if(!CRIPSAuta(GetClosestVehicle(playerid))) return SCM(playerid,-1,""CRVENA"ODRP: "BELA"Niste u blizini kombija od Crips Gang-a!");
OnePlayAnim(playerid, "CARRY", "crry_prtial", 4.1, 0, 1, 1, 1, 1); ClearAnimations(playerid);
RemovePlayerAttachedObject(playerid,GUDRA);
SetTimerEx("DrogaSistem", 200, false, "d", playerid);
return 1;
}[/pawn]

ma nije to to :D
Naslov: Odg: [HELP]: Float Poz
Poruka od: MEDO poslato April 16, 2017, 20:33:46 POSLE PODNE
LOCK!

ÄŒitaj pravila!