[Ajuda] Ultilizaзгo de FS
#1

Olб pessoal, eu estou querendo invйz de deixar os meus objetos das HQ'S das orgs no gm quero por num FS. sу que eu nunca criei nem mexi com FS. Vocкs podem me dar uma forзa?
eu criei esse, mais nao aparecem os objetos...

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    //================================= Hq Amigos dos Amigos =====================================

    CreateDynamicObject(3749, 2346.3693847656, -1984.3312988281, 18.241226196289, 0, 0, 0);
    CreateDynamicObject(987, 2336.4187011719, -1982.9434814453, 12.542179107666, 0, 0, 180);
    CreateDynamicObject(987, 2324.4553222656, -1982.9252929688, 12.550945281982, 0, 0, 179.99450683594);
    CreateDynamicObject(987, 2312.5021972656, -1982.8675537109, 12.559703826904, 0, 0, 190);
    CreateDynamicObject(987, 2286.4367675781, -2012.2873535156, 12, 0, 0, 270);
    CreateDynamicObject(987, 2364.0158691406, -2018.3126220703, 12, 0, 0, 90);
    CreateDynamicObject(987, 2350.94140625, -2031.1116943359, 12, 0, 0, 2);
    CreateDynamicObject(13749, 2323.5141601563, -2018.0270996094, 18, 0, 0, 145);
    CreateDynamicObject(9275, 2312.5981445313, -2032.9825439453, 28.606090545654, 0, 0, 90);
    CreateDynamicObject(12991, 2340.8740234375, -2031.8000488281, 24.793853759766, 0, 0, 0);
    CreateDynamicObject(3092, 2342.5493164063, -2034.3236083984, 25.758157730103, 0, 0, 0);
    CreateDynamicObject(3092, 2341.1552734375, -2034.3715820313, 25.758157730103, 0, 0, 0);
    CreateDynamicObject(3092, 2339.3784179688, -2034.3415527344, 25.758157730103, 0, 0, 0);
    CreateDynamicObject(3092, 2342.9594726563, -2033.5460205078, 25.758157730103, 0, 0, 90);
    CreateDynamicObject(3092, 2343.0095214844, -2031.9379882813, 25.758157730103, 0, 0, 90);
    CreateDynamicObject(3092, 2343.0046386719, -2030.0677490234, 25.758157730103, 0, 0, 90);
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid)
{
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Ultilizaзгo de FS - by Pedro_BPP - 11.11.2011, 09:24
Re: [[Ajuda]]] Ultilizaзгo de FS - by Mteck - 11.11.2011, 09:39
Re: [[Ajuda]]] Ultilizaзгo de FS - by KingstoN* - 11.11.2011, 09:43
Re: [[Ajuda]]] Ultilizaзгo de FS - by PlueX - 11.11.2011, 09:47
Re: [[Ajuda]]] Ultilizaзгo de FS - by Pedro_BPP - 11.11.2011, 11:54
Re: [[Ajuda]]] Ultilizaзгo de FS - by ViniBorn - 11.11.2011, 11:57
Re: [[Ajuda]]] Ultilizaзгo de FS - by Pedro_BPP - 11.11.2011, 12:06
Re: [[Ajuda]]] Ultilizaзгo de FS - by PlueX - 11.11.2011, 12:52
Re: [[Ajuda]]] Ultilizaзгo de FS - by ViniBorn - 11.11.2011, 12:54
Re: [[Ajuda]]] Ultilizaзгo de FS - by Aquilis - 11.11.2011, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)