Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: [UP:RP]El_Nino poslato Januar 09, 2013, 22:15:16 POSLE PODNE

Naslov: [Pomoc] RemoveObject
Poruka od: [UP:RP]El_Nino poslato Januar 09, 2013, 22:15:16 POSLE PODNE
Kada dobijem npr: RemoveBuildingForPlayer(playerid, 6523, 702.8672, -1276.0313, 20.9063, 0.25); .. Ja stavim u pawno .. i nema erora .. a object u Ig nije obrisan .. kako da to uradim ?
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: Joey_ poslato Januar 09, 2013, 22:25:19 POSLE PODNE
Jesi stavio pod OnPlayerConnect callback tu funkciju?
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: [UP:RP]El_Nino poslato Januar 09, 2013, 22:33:29 POSLE PODNE
Ovako sam uradio ..


public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 6523, 702.8672, -1276.0313, 20.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 733, 717.1172, -1236.2266, 12.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 726, 680.8594, -1293.3984, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 732, 782.7969, -1304.0781, 12.3906, 0.25);
    RemoveBuildingForPlayer(playerid, 6522, 702.8672, -1276.0313, 20.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 746.4922, -1303.4141, 11.6719, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 760.4531, -1304.1328, 12.2813, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 782.3438, -1277.8359, 12.2031, 0.25);
    RemoveBuildingForPlayer(playerid, 6489, 715.4063, -1236.2188, 19.1641, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 783.0625, -1245.7969, 12.5938, 0.25);
    return 1;
    }


I nece ..
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: Joey_ poslato Januar 09, 2013, 22:34:59 POSLE PODNE
Povećaj radius, zadnji argument u funkciji (ovo što ti piše 0.25);
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: [UP:RP]El_Nino poslato Januar 09, 2013, 22:44:36 POSLE PODNE
Zasto mi sada izbaci ko neki crash .. ?
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: Joey_ poslato Januar 09, 2013, 22:58:34 POSLE PODNE
Kakav crash? Server crasha?
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: [UP:RP]El_Nino poslato Januar 09, 2013, 23:06:56 POSLE PODNE
nenene .. kada stisnem compile onda u pawnu uradio ko crash ..  a kad izbrisem      return 1;
                                                                                                                              {
Onda mi je sve uredo al mi ne izbrise objecte u IG. hmm ?
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: Ino42O poslato Januar 10, 2013, 00:23:02 PRE PODNE
vamo diti pise 25 stavi -25 ili -2
Naslov: Odg: [Pomoc] RemoveObject
Poruka od: Blaeks poslato Januar 10, 2013, 02:34:35 PRE PODNE
procitaj pravila ovog PDFa, a i vi ostali