Jump to content
  • 0

pomoc Pomoc prosím


Stellet

Dotaz


// 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()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

 

public OnFilterScriptExit()

{

return 1;

}

 

#else

 

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

 

#endif

 

public OnGameModeInit()

{

CreateObject(2990, 264.10, -1334.07, 56.23, 264.10, -1334.07, 56.23, 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("/b1", cmdtext, true, 10) == 0)

{

new string[50];

ŘÁDEK 92 new movetime = MoveObject(2990, 264.10, -1334.07, 56.23, 2.00, 264.10=-1000.0,-1334.07=-1000.0,56.23=-1000.0);

format(string, sizeof(string), "Brána se otvírá", movetime);

SendClientMessage(playerid, 0xFF000000, string);

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;

}

Link to comment
Share on other sites

11 odpovědí na tuto otázku

Recommended Posts

  • 0

ahá, no vidíš, teraz už všetci vieme čo potrebuješ.. nabudúce to skús napísať hneď hore (a možno si aj spomenieš že čo ti tam ešte chýba  :hallo:)
vo funkcii si použil niečo, čo nechápem ani ja, nie to ešte kompilátor:
 

 

 

264.10 = -1000.0

 

(už len logika mi nedá, prečo nastavuješ číslu "264.1" hodnotu "-1000")

Link to comment
Share on other sites

  • 0

ahá, no vidíš, teraz už všetci vieme čo potrebuješ.. nabudúce to skús napísať hneď hore (a možno si aj spomenieš že čo ti tam ešte chýba  :hallo:)

vo funkcii si použil niečo, čo nechápem ani ja, nie to ešte kompilátor:

 

 

 

(už len logika mi nedá, prečo nastavuješ číslu "264.1" hodnotu "-1000")

tak mi řekni jak to mam teda udělat 

Link to comment
Share on other sites

  • 0

nie je také ťažké prísť na to sám, len použi zdravý rozum a logiku (ak to je problém, tak iba skúšaj)

To ano a to jak jsi mi posílal jak jsem udělal "264.1" hodnotu "-1000"   tak co s tím mám udělat ? ?

Link to comment
Share on other sites

  • 0
  • Globální moderátor

to je přesně to co se tu řeší denně, 

 

jestli máš problém s něčím použij hlavu(mozek) - nepoužito

pokud ti to nepujde napiš sem jaký je problém. - neprovedeno

a když máš stále problém tak to sem klidně napiš - neprovedeno

... a ne pořád z někoho tahat kontaktní (osobní) informace - provedeno

 

a nejvíc fakt nechápu reakci na řešení tvého problému: "potřebuju poradit"

Link to comment
Share on other sites

  • 0

to je přesně to co se tu řeší denně, 

 

jestli máš problém s něčím použij hlavu(mozek) - nepoužito

pokud ti to nepujde napiš sem jaký je problém. - neprovedeno

a když máš stále problém tak to sem klidně napiš - neprovedeno

... a ne pořád z někoho tahat kontaktní (osobní) informace - provedeno

 

a nejvíc fakt nechápu reakci na řešení tvého problému: "potřebuju poradit"

Jasně pořád mi to nejde ale co mám teda dělat ? prostě to nechápu ani podle wiki atd. 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...