Detaljan opis problema: Probao sam namestiti da se auta u rradiusu od 50, koja nemaju vozaca rtc na Y, ali ne radi.
Dio skripte:
if(newkeys & KEY_YES)
{
if(PlayerInfo < 5)
{
for(new c = 0; c < MAX_VEHICLES; c++)
{
new Float:x,Float:y,Float:z;
GetVehiclePos(c, x, y, z);
if(IsPlayerInRangeOfPoint(playerid,50, x, y, z))
{
if(IsVehicleEmpty(c))
{
SetVehicleToRespawn(c);
LinkVehicleToInterior(c, 0);
}
}
}
}
new sturass;
new cukic;
GetPlayerName(playerid, cukic, sizeof(cukic));
format(sturass,sizeof(sturass)," Vlasnik %s je respawn vozila u radiusu od 50. /rtcbig",cukic);
ABroadCast(ZUTA, sturass, 1);
}Neke slike/video za lakse dobivanje pomoci(neobavezno): /
