Szerző Téma: Create3DTextLabel  (Megtekintve 715 alkalommal)

Nem elérhető killse

  • 161
    • Profil megtekintése
Create3DTextLabel
« Dátum: 2012. január 01. - 18:38:21 »
0 Show voters
Idézetet írta: killse date=1325436106\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"15112\" data-ipsquote-contentclass=\"forums_Topic
Sziasztok!
A következõ lenne a kérdésem eezeket a 3Ds texteket:
[pawn]
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.57, 2595.36, 55.83,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.24, 2590.99, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.07, 2605.74, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1416.60, 2641.42, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.48, 2611.64, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.01, 2605.92, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.61, 2610.47, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.20, 2591.08, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1412.91, 2642.68, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.79, 2596.40, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1505.78, 2596.37, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1490.20, 2591.01, 55.83,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1486.48, 2606.62, 56.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1501.08, 2610.62, 56.88,30.0,1);
Create3DTextLabel(\"El Quedos mentõ állomás\",0xFF9900AA,-1515.67, 2537.88, 55.68,30.0,1);
Create3DTextLabel(\"El Quedos Rendõrörs\",0xFF9900AA,-1415.83, 2641.57, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-371.22, 2692.85, 63.85,30.0,1);
Create3DTextLabel(\"Lámpa!\",0xFF0000AA,-267.49, 2695.79, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-251.63, 2690.81, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2645.18, 62.59,30.0,1);
Create3DTextLabel(\"Las Payasadas Polgármesteri Hivatal!\",0x3A47DEFF,-253.79, 2619.44, 62.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-192.39, 2646.59, 63.29,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2711.69, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-246.71, 2706.75, 62.68,30.0,1);
Create3DTextLabel(\"Las Payasdas Roncstelep\",0x3A47DEFF,-345.81, 2688.59, 63.44,30.0,1);
Create3DTextLabel(\"El Quebrados Utcáin ébretél: /help /útmutató\",0x3A47DEFF,-1519.70, 2570.95, 55.83,30.0,1);
[/pawn]
Hogy tehetem be egy scriptbe?? úgy hogy azokat a szerver be is töltse? :question: :question:
Elõre is köszi a válaszokat!
 
Ezt írtam nem is olyan rég viszont hiába teszem be bárhogyan is nem mûködik.... Elküdöm hogy tettem be fs be:
[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()
{
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()
{
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.57, 2595.36, 55.83,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.24, 2590.99, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.07, 2605.74, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1416.60, 2641.42, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.48, 2611.64, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.01, 2605.92, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.61, 2610.47, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.20, 2591.08, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1412.91, 2642.68, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.79, 2596.40, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1505.78, 2596.37, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1490.20, 2591.01, 55.83,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1486.48, 2606.62, 56.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1501.08, 2610.62, 56.88,30.0,1);
Create3DTextLabel(\"El Quedos mento állomás\",0xFF9900AA,-1515.67, 2537.88, 55.68,30.0,1);
Create3DTextLabel(\"El Quedos Rendorörs\",0xFF9900AA,-1415.83, 2641.57, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-371.22, 2692.85, 63.85,30.0,1);
Create3DTextLabel(\"Lámpa!\",0xFF0000AA,-267.49, 2695.79, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-251.63, 2690.81, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2645.18, 62.59,30.0,1);
Create3DTextLabel(\"Las Payasadas Polgármesteri Hivatal!\",0x3A47DEFF,-253.79, 2619.44, 62.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-192.39, 2646.59, 63.29,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2711.69, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-246.71, 2706.75, 62.68,30.0,1);
Create3DTextLabel(\"Las Payasdas Roncstelep\",0x3A47DEFF,-345.81, 2688.59, 63.44,30.0,1);
Create3DTextLabel(\"El Quebrados Utcáin ébretél: /help /útmutató\",0x3A47DEFF,-1519.70, 2570.95, 55.83,30.0,1);
Create3DTextLabel(\"El Quebrados utcáin ébretél:[/help,/útmutató,/adminok]\",0x3A47DEFF,-1454.39, 2650.78, 55.83,30.0,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;
}
[/pawn]
Mi A hiba??? Mellékesen [0.3D]n van a szerverem...
[mod]Téma neve utaljon a témára![/mod]
« Utoljára szerkesztve: 2012. január 01. - 18:53:48 írta Sheet »

dexi

  • Vendég
Create3DTextLabel
« Válasz #1 Dátum: 2012. január 01. - 18:42:00 »
0 Show voters
#define FILTERSCRIPT
#include <a_samp>
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Blank Filterscript by your name here\");
print(\"--------------------------------------\\n\");
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.57, 2595.36, 55.83,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.24, 2590.99, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.07, 2605.74, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1416.60, 2641.42, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.48, 2611.64, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1486.01, 2605.92, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1500.61, 2610.47, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1491.20, 2591.08, 55.68,30.0,1);
Create3DTextLabel(\"/pnyit\",0x3A47DEFF,-1412.91, 2642.68, 55.68,30.0,1);
Create3DTextLabel(\"lámpa\",0xFF0000AA,-1505.79, 2596.40, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1505.78, 2596.37, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1490.20, 2591.01, 55.83,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1486.48, 2606.62, 56.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-1501.08, 2610.62, 56.88,30.0,1);
Create3DTextLabel(\"El Quedos mento állomás\",0xFF9900AA,-1515.67, 2537.88, 55.68,30.0,1);
Create3DTextLabel(\"El Quedos Rendorörs\",0xFF9900AA,-1415.83, 2641.57, 55.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-371.22, 2692.85, 63.85,30.0,1);
Create3DTextLabel(\"Lámpa!\",0xFF0000AA,-267.49, 2695.79, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-251.63, 2690.81, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2645.18, 62.59,30.0,1);
Create3DTextLabel(\"Las Payasadas Polgármesteri Hivatal!\",0x3A47DEFF,-253.79, 2619.44, 62.88,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-192.39, 2646.59, 63.29,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-262.48, 2711.69, 62.68,30.0,1);
Create3DTextLabel(\"lámpa!\",0xFF0000AA,-246.71, 2706.75, 62.68,30.0,1);
Create3DTextLabel(\"Las Payasdas Roncstelep\",0x3A47DEFF,-345.81, 2688.59, 63.44,30.0,1);
Create3DTextLabel(\"El Quebrados Utcáin ébretél: /help /útmutató\",0x3A47DEFF,-1519.70, 2570.95, 55.83,30.0,1);
Create3DTextLabel(\"El Quebrados utcáin ébretél:[/help,/útmutató,/adminok]\",0x3A47DEFF,-1454.39, 2650.78, 55.83,30.0,1);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}

Nem elérhető killse

  • 161
    • Profil megtekintése
Create3DTextLabel
« Válasz #2 Dátum: 2012. január 01. - 18:49:29 »
0 Show voters
Még mindig nem jó semmit sem ír ki.. :D

Create3DTextLabel
« Válasz #3 Dátum: 2012. január 02. - 09:12:57 »
0 Show voters
Egyszerü, írd be ezeket az Public OnGameModeInit alá ahogy a mapokat szokás :D
« Utoljára szerkesztve: 2012. január 02. - 09:19:20 írta Pi€i »

Nem elérhető Game94

  • 405
    • Profil megtekintése
Create3DTextLabel
« Válasz #4 Dátum: 2012. január 02. - 11:28:05 »
0 Show voters
Figyi ha ezt akarod módként használni akkor az OnGameModeInit rész alá kell betenni, de ha csak egy FS-nek akarod használni akkor az OnFilterScriptInit rész alá kell berakni.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal