[HELP]: Float Poz


Započeo Andrijevic SKAMER, April 16, 2017, 19:35:42 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Underpoint
Detaljan opis problema: Lepo napravim new Float:Poz[3]; i neke errore baca nmp..
Dio skripte:
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;
}

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]);
samo rejv i debele zene


Probaj ovo

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;
}

Citat: Simi poslato April 16, 2017, 19:45:16 POSLE PODNE

Probaj ovo

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;
}


ma nije to to :D
samo rejv i debele zene

LOCK!

ÄŒitaj pravila!

"They have computers, and they may have other weapons of mass destruction."