[POMOC]Objekti

Započeo Nadroj, Mart 11, 2013, 19:18:07 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

skripta koju koristim: moja od 0
opis problema: obrisani objekti

neznam da li da stavim u pawn skriptanje ili ovde ali cu ipak ovde. Ovako. kako da ubacim obrisani default objekat u skriptu... ja na primer uzmem iz mapeditora koordinate obrisane opstine i kad ubacim ovako u skriptu

RemoveBuildingForPlayer(4024,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(4044,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4002,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(3980,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4003,2, 1481.0781, -1747.0313, 33.5234, 0.25);


ono ga compile ali kad udjem u srv onda je objekat i dalje tu -.-
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

Do ubacis u svoju scriptu pod OnPlayerConnect

compile ga on ali nece ovako -.-
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

Ovdje stavi


public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(4024,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(4044,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4002,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(3980,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4003,2, 1481.0781, -1747.0313, 33.5234, 0.25);


Tako tu stavi .. vako ti mora izgledati...
Moji Radiovi!
TuT||Iz code u MTA

ado97

Mora ti raditi samo moraš staviti u "public OnPlayerConnect"

Evo ti moj ceo on playerconnec

public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(4024,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(4044,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4002,2, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(3980,2, 1481.1875, -1785.0703, 22.3828, 0.25);
RemoveBuildingForPlayer(4003,2, 1481.0781, -1747.0313, 33.5234, 0.25);


    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Kucajte sifru da bi ste se ulogovali.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Ukucajte sifru da bi ste se registrovali.","Register","Quit");
    }
    return 1;
}


i kad udjem u igru opstina je i dalje tu... koordinate su tacne -.-... probaj ti da mi posaljes svoje koordinate kad uzmes za opstinu

BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak


RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);


Playerid si zavoravio ;)
Moji Radiovi!
TuT||Iz code u MTA

ops... nisam video da nisam stavio da sam se setio tog playerid... u svakom slucaju hvala!!

LOCK
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak