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 ?
Jesi stavio pod OnPlayerConnect callback tu funkciju?
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 ..
Povećaj radius, zadnji argument u funkciji (ovo što ti piše 0.25);
Zasto mi sada izbaci ko neki crash .. ?
Kakav crash? Server crasha?
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 ?
vamo diti pise 25 stavi -25 ili -2
procitaj pravila ovog PDFa, a i vi ostali