[Pomoc]SAMP Map Construction to SAMP

12. Jan. 2013. Zaključano
601
pregleda
8
postova
[BS]Frane
2
Wheel Man
12. Jan. 2013.
Skripta koju koristim: Los Balkan
Detaljan opis problema: Ovako. Ja izbrisem objekte u samp map constructionu, onda napravim bazu za vatrogasce. Kopiram kodove i stavim na convertffs i kada stavim u skriptu udjem ig i tu je sve. I baza i vozila. Al mi ta zgrada koju sam izbrisao nije nestala. Molim vas pomozite. Kako da izbrisem u sampu to sto izbrisem u map constructionu.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Psiholog
4
Shot Caller
12. Jan. 2013.
RemoveBuildingForPlayer dodaješ u OnPlayerConnect a ne pod OnGameModeInit..
[BS]Frane
2
Wheel Man
12. Jan. 2013.
aleluja hvala ti.
[BS]Frane
2
Wheel Man
12. Jan. 2013.
[quote author=
RemoveBuildingForPlayer dodaješ u OnPlayerConnect a ne pod OnGameModeInit..

Al onda error i nece
Psiholog
4
Shot Caller
12. Jan. 2013.
daj da vidim kako si dodao

EDIT: i koje errore
[BS]Frane
2
Wheel Man
13. Jan. 2013.
nece mi uploader. Jel znas neki video koji mi moze pomoc. Mislim ja sam novi u pawno i onda idem stavit pod player connect al neznam tocno gdje. Eo dat cu ti sve sto mi pise u player connect i ti mi reci gdje da stavim.
public OnPlayerConnect(playerid)
{

for(new b = 0; b < MAX_BOMBS; b++)
{
strmid(BombInfo, "", 0, strlen(""), 128);
BombInfo = 0.0;
BombInfo = 0.0;
BombInfo = 0.0;
}
if(IsPlayerNPC(playerid))
  {
  SpawnPlayer(playerid);
    return 1;
  }
  //ResetPlayerCash(playerid); //Stavljanje igracevog novca na 0
for(new v = 1; v < MAX_VEHICLES; v++) VehicleBombed = 0;
explosive = 0;
    SPEEDOS = TextDrawCreate(487.000000,433.000000,"_");
    TextDrawAlignment(SPEEDOS,0);
    TextDrawBackgroundColor(SPEEDOS,0x000000ff);
    TextDrawFont(SPEEDOS,2);
    TextDrawLetterSize(SPEEDOS,0.399999,1.100000);
    TextDrawColor(SPEEDOS,0xffffffff);
    TextDrawSetOutline(SPEEDOS,1);
    TextDrawSetProportional(SPEEDOS,1);
    TextDrawSetShadow(SPEEDOS,1);
    TextDrawShowForPlayer(playerid,SPEEDOS);

SetPlayerMapIcon(playerid, 13, -1421.7410,-287.9273,14.1484, 5, COLOR_YELLOW); // SF Airport
SetPlayerMapIcon(playerid, 14, 1675.3717,1447.8632,10.7876, 5, COLOR_YELLOW); // LV Airport
SetPlayerMapIcon(playerid, 15, 1685.9310,-2239.2971,-2.7028, 5, COLOR_YELLOW); // LS Airport

pCarKey = 0;
new playersip;
CheckOwner(playerid);
GetPlayerIp(playerid,playersip,sizeof(playersip));
new PlayerNameFormat;
GetPlayerName(playerid,PlayerNameFormat,sizeof(PlayerNameFormat));
new FileFormat;
format(FileFormat,sizeof(FileFormat),"%s.carkeyl.ini",PlayerNameFormat);
if(dini_Exists(FileFormat))
{
pCarKey = dini_Int(FileFormat, "carkey");
}
else
{
dini_Create(FileFormat);
}
    ViewingBox = 0;
    PlayerInfo = true;
if(Security != 0)
{
    SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
    Kick(playerid);
    return 1;
}
new plname;
    GetPlayerName(playerid, plname, sizeof(plname));
    new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
SendClientMessage(playerid, COLOR_YELLOW2, "Tvoje ime nije pravilno.");
SendClientMessage(playerid, COLOR_YELLOW2, "Hint: Tvoje ime treba biti u formatu Ime_Prezime.");
Kick(playerid);
return 1;
}

i gdje ja da stavim sada kod
Psiholog
4
Shot Caller
13. Jan. 2013.
Upisi na googleu RemoveBuildingForPlayersamp i udi u wiki stranicu, tamo ti je sve objasnjeno (sve funkcije)

Ja ti nemogu sada jer sampreko mobitela
[BS]Frane
2
Wheel Man
13. Jan. 2013.
hvala. Skinio bezveze gmod i vidio di je liku u ksipti remove

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha