Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Markinjo poslato Mart 02, 2013, 13:21:40 POSLE PODNE

Naslov: [Pomoc]Problem sa izbrisanim objektima
Poruka od: Markinjo poslato Mart 02, 2013, 13:21:40 POSLE PODNE
Skripta koju koristim: Moja
Detaljan opis problema: Pa ovako ne mogu nikako da ubacim na primer ovo RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25); ubacim pod OnPlayerConnect ali izbacuje problem
Dio skripte:Evo vam OnPlayerConnect pa neko neko pokaze kako tu da ubacim ovo public OnPlayerConnect(playerid)
{
    ServerInfo[sVisits]++;
   
    new playername[MAX_PLAYER_NAME];

GetPlayerName(playerid, playername, sizeof(playername));
SetPVarString(playerid,"ImePrezime", playername);

    if (!IsValidName(playername))
{
        SendClientMessage(playerid, COLOR_SAMP_GREEN, "Nepravilno Role Play Ime.");
        SendClientMessage(playerid, COLOR_SAMP_GREEN, "Molimo posjetite "WEB_URL" za vise informacija...");
        Kick(playerid);
return 1;
}
SetPVarInt(playerid, "UpdateCount", 40+(GetPlayerPing(playerid)/4));
PovecajPVarInt(playerid, "gActivePlayers", 1);
numplayers++;
ResetArrays(playerid);
ResetDriftArrays(playerid);
ClearCrime(playerid);
ClearFishes(playerid);
ClearCooking(playerid);
ClearGroceries(playerid);
ClearMarriage(playerid);
SetPlayerColor(playerid,COLOR_GRAD2);
CheckPlayerVehicle(playerid);
ResetPlayerWeapons(playerid);
if(!IsPlayerNPC(playerid))
SetPlayerVirtualWorld(playerid, 200);

return 1;

}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Naslov: Odg: [Pomoc]Problem sa izbrisanim objektima
Poruka od: Markinjo poslato Mart 02, 2013, 13:46:11 POSLE PODNE
Citat: David (Sabljak) A.k.A SABO(T) poslato Mart 02, 2013, 13:24:20 POSLE PODNE
public OnPlayerConnect(playerid)
{
//==============IZBRISANI OBJEKTI==========//
RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);

//==============IZBRISANI OBJEKTI==========//
    ServerInfo[sVisits]++;
   
    new playername[MAX_PLAYER_NAME];

GetPlayerName(playerid, playername, sizeof(playername));
SetPVarString(playerid,"ImePrezime", playername);

    if (!IsValidName(playername))
{
        SendClientMessage(playerid, COLOR_SAMP_GREEN, "Nepravilno Role Play Ime.");
        SendClientMessage(playerid, COLOR_SAMP_GREEN, "Molimo posjetite "WEB_URL" za vise informacija...");
        Kick(playerid);
return 1;
}
SetPVarInt(playerid, "UpdateCount", 40+(GetPlayerPing(playerid)/4));
PovecajPVarInt(playerid, "gActivePlayers", 1);
numplayers++;
ResetArrays(playerid);
ResetDriftArrays(playerid);
ClearCrime(playerid);
ClearFishes(playerid);
ClearCooking(playerid);
ClearGroceries(playerid);
ClearMarriage(playerid);
SetPlayerColor(playerid,COLOR_GRAD2);
CheckPlayerVehicle(playerid);
ResetPlayerWeapons(playerid);
if(!IsPlayerNPC(playerid))
SetPlayerVirtualWorld(playerid, 200);

return 1;

}

Hvala , reseno ... LOCK !
Naslov: Odg: [Pomoc]Problem sa izbrisanim objektima
Poruka od: Joey_ poslato Mart 02, 2013, 18:05:41 POSLE PODNE
Rijesen problem, lock.