Jump to content

vasy

Membru
  • Posts

    196
  • Joined

  • Last visited

    Never

Posts posted by vasy

  1. am luat aceliasi obiect si

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1042 -- 1043) : error 076: syntax error in the expression, or invalid function call
    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1043) : error 021: symbol already defined: "object"
    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1041) : warning 204: symbol is assigned a value that is never used: "object"
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    2 Errors.

    [pawn]new object = CreateObject(19353, 210.06, 1924.85, 24.27,  0.00, 0.00, 90.00);

    SetObjectMaterialText

    new object = CreateObject(19353, 210.06, 1924.85, 24.27,  0.00, 0.00, 90.00);

    SetObjectMaterialText(object, "Tutorial", 0, OBJECT_MATERIAL_SIZE_256x128,\

    "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

    return 1;[/pawn]

  2. C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : error 029: invalid expression, assumed zero
    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : error 029: invalid expression, assumed zero
    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : warning 215: expression has no effect
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    2 Errors.
    imi da errorile astea la liniiile astea [pawn] //=======================RFT Indicatoare================ CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); SetObjectMaterialText CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); //create the object SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\ "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); return 1; }[/pawn] si daca pun cu new object e si mai rau
    	//=======================RFT Indicatoare================
    	CreateObject(3336, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16);
    	SetObjectMaterialText
    	CreateObject(3336, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16); //create the object
    	SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\
    	"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    
    	return 1;
    }

    [pawn] //=======================RFT Indicatoare================

    new object = CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16);

    SetObjectMaterialText

    new object = CreateObject(object, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); //create the object

    SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\

    "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

    return 1;

    }[/pawn]

  3. [pawn]C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(710) : warning 204: symbol is assigned a value that is never used: "object"

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2056) : error 017: undefined symbol "SetObjectMaterialText"

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2058) : warning 217: loose indentation

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2054) : warning 204: symbol is assigned a value that is never used: "object"

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    1 Error.

    [/pawn]

    acum am pus sub

    public OnPlayerCommandText(playerid, cmdtext[])

    si imi eroarea aia

  4. http://www.sa-mp.ro/forum/index.php?topic=26777.0 am vazut aici am urmat tutorialul dar imi da o erroare si multe warniguri

    [pawn]C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(710) : warning 204: symbol is assigned a value that is never used: "object"

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2051) : warning 235: public function lacks forward declaration (symbol "SetObjectMaterialText")

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2057) : warning 217: loose indentation

    C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2053) : warning 204: symbol is assigned a value that is never used: "object"

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    1 Error.

    [/pawn]

  5. Cum pot sa pun

    RemoveBuildingForPlayer(playerid, 8021, 1567.3906, 843.2266, 10.0781, 0.25);
    	RemoveBuildingForPlayer(playerid, 8083, 1528.2031, 908.7031, 21.8750, 0.25);
    	RemoveBuildingForPlayer(playerid, 735, 1191.0859, 693.9922, 7.9297, 0.25);
    	RemoveBuildingForPlayer(playerid, 8377, 1567.3906, 843.2266, 10.0781, 0.25);
    In gamemod ca mie imi da error
    error 017: undefined symbol "playerid"
    C:\Users\KyLLeR\Desktop\server de viitor\Server\gamemodes\PPC_Trucking.pwn(12776) : error 017: undefined symbol "playerid"
    C:\Users\KyLLeR\Desktop\server de viitor\Server\gamemodes\PPC_Trucking.pwn(12777) : error 017: undefined symbol "playerid"
    C:\Users\KyLLeR\Desktop\server de viitor\Server\gamemodes\PPC_Trucking.pwn(12778) : error 017: undefined symbol "playerid"

  6. nu merge :((

    ----------
    Loaded log file: "server_log.txt".
    ----------
    
    SA-MP Dedicated Server
    ----------------------
    v0.3e, (C)2005-2012 SA-MP Team
    
    [19:28:35] 
    [19:28:35] Server Plugins
    [19:28:35] --------------
    [19:28:35]  Loading plugin: streamer.so
    [19:28:35] 
    
    *** Streamer Plugin v2.6.1 by Incognito loaded ***
    
    [19:28:35]   Loaded.
    [19:28:35]  Loading plugin: sscanf.so
    [19:28:35] 
    
    [19:28:35]  ===============================
    
    [19:28:35]       sscanf plugin loaded.     
    
    [19:28:35]    (c) 2009 Alex "Y_Less" Cole
    
    [19:28:35]  ===============================
    
    [19:28:35]   Loaded.
    [19:28:35]  Loading plugin: audio.so
    [19:28:35] 
    *** Audio Plugin v0.4 by Incognito loaded ***
    
    [19:28:35]   Loaded.
    [19:28:35]  Loaded 3 plugins.
    
    [19:28:35] 
    [19:28:35] Ban list
    [19:28:35] --------
    [19:28:35]  Loaded: samp.ban
    [19:28:35] 
    [19:28:35] 
    [19:28:35] Filterscripts
    [19:28:35] ---------------
    [19:28:35]   Loading filterscript 'HN.amx'...
    [19:28:35]   Loading filterscript 'R.amx'...
    [19:28:35] 
    --------------------------------------
    [19:28:35] DuReX's Radio Filterscript v1.0 loaded!
    [19:28:35] --------------------------------------
    
    [19:28:35]   Loading filterscript 'p.amx'...
    [19:28:35]   Loading filterscript 'ni.amx'...
    [19:28:35] 
    -----------------------------------
    [19:28:35]           Nitro Infinit              
    [19:28:35]      http://vyo.fnhost.org           
    [19:28:35] -----------------------------------
    
    [19:28:35]   Loading filterscript 'Ceas.amx'...
    [19:28:35] 
    --------------------------------------
    [19:28:35]            Ceasul v2.5 By Roach         
    [19:28:35] --------------------------------------
    
    [19:28:35]   Loading filterscript 'jVIP.amx'...
    [19:28:35] 
    --------------------------------------
    [19:28:35] jVIP V 0.1 by Jarnu has been loaded..
    [19:28:35] --------------------------------------
    
    [19:28:35]   Loading filterscript 't.amx'...
    [19:28:35]   Loading filterscript 'A.amx'...
    [19:28:35]   Loaded 8 filterscripts.
    
    [19:28:35] sscanf warning: String buffer overflow.
    [19:28:35] Debug information
    [19:28:35] -------------------------------------
    [19:28:35] Last vehicle ID: 227
    [19:28:35] Last object ID: 18
    [19:28:35] Loaded 790 houses
    [19:28:35] Loaded 92 businesses
    [19:28:35] Loaded 20 speed-camera's
    [19:28:35] -------------------------------------
    [19:28:35] Houses that have been fixed: 0
    [19:28:35] 
    ----------------------------------
    [19:28:35] Trucking Server Romania
    [19:28:35] ----------------------------------
    
    [19:28:35] Number of vehicle models: 23
    [19:28:43] Incoming connection: 86.105.158.138:52434
    [19:28:46] Incoming connection: 89.123.119.174:3756
    [19:28:50] Incoming connection: 95.76.108.55:2489
    [19:28:50] Incoming connection: 93.112.65.25:55712
    [19:28:55] Incoming connection: 79.117.100.14:63824
    [19:28:56] Incoming connection: 86.122.233.224:27423
    [19:29:46] Incoming connection: 86.122.233.224:27476
    [19:30:53] Incoming connection: 86.105.158.138:52439
    [19:33:55] Incoming connection: 79.112.15.144:55627
    [19:39:39] Incoming connection: 5.15.212.10:3903
    [19:41:21] Incoming connection: 5.15.212.10:3929

    asa imi arata

  7. echo Executing Server Config...
    lanmode 0
    rcon_password gigi
    maxplayers 500
    port 7777
    hostname SA-MP 0.3 Server
    gamemode0 PPC_Trucking 
    filterscripts A HN Ceas ni R
    announce 0
    query 1
    plugins streamer sscanf 
    weburl  navem
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
    maxnpc 10
    logtimeformat [%H:%M:%S]

  8. ----------
    Loaded log file: "server_log.txt".
    ----------
    
    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team
    
    [00:57:24] filterscripts = ""  (string)
    [00:57:24] 
    [00:57:24] Server Plugins
    [00:57:24] --------------
    [00:57:24]  Loading plugin: streamer
    [00:57:24] 
    
    *** Streamer Plugin v2.6.1 by Incognito loaded ***
    
    [00:57:24]   Loaded.
    [00:57:24]  Loading plugin: sscanf
    [00:57:24] 
    
    [00:57:24]  ===============================
    
    [00:57:24]       sscanf plugin loaded.     
    
    [00:57:24]    (c) 2009 Alex "Y_Less" Cole
    
    [00:57:24]  ===============================
    
    [00:57:24]   Loaded.
    [00:57:24]  Loaded 2 plugins.
    
    [00:57:24] 
    [00:57:24] Ban list
    [00:57:24] --------
    [00:57:24]  Loaded: samp.ban
    [00:57:24] 
    [00:57:24] 
    [00:57:24] Filterscripts
    [00:57:24] ---------------
    [00:57:24]   Loaded 0 filterscripts.
    
    [00:57:24] Script[gamemodes/PPC_Trucking.amx]: Run time error 19: "File or function is not found"
    [00:57:24] Number of vehicle models: 0
    

    cce ar putea sa aiba

  9. // TextDraw developed using Zamaroht's Textdraw Editor 1.0
    
    // On top of script:
    new Text:Textdraw0;
    new Text:Textdraw1;
    new Text:Textdraw2;
    new Text:Textdraw3;
    new Text:Textdraw4;
    new Text:Textdraw5;
    new Text:Textdraw6;
    new Text:Textdraw7;
    new Text:Textdraw8;
    new Text:Textdraw9;
    new Text:Textdraw10;
    
    // In OnGameModeInit prefferably, we procced to create our textdraws:
    Textdraw0 = TextDrawCreate(648.000000, 430.000000, ".");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 3);
    TextDrawLetterSize(Textdraw0, 0.549998, 1.100000);
    TextDrawColor(Textdraw0, -16711681);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawUseBox(Textdraw0, 1);
    TextDrawBoxColor(Textdraw0, 16777215);
    TextDrawTextSize(Textdraw0, -11.000000, 27.000000);
    
    Textdraw1 = TextDrawCreate(500.000000, 94.000000, "....");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 3);
    TextDrawLetterSize(Textdraw1, 0.549998, 1.100000);
    TextDrawColor(Textdraw1, -16776961);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);
    
    Textdraw2 = TextDrawCreate(523.000000, 94.000000, "....");
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 3);
    TextDrawLetterSize(Textdraw2, 0.549998, 1.100000);
    TextDrawColor(Textdraw2, -65281);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawSetProportional(Textdraw2, 1);
    
    Textdraw3 = TextDrawCreate(546.000000, 94.000000, "....");
    TextDrawBackgroundColor(Textdraw3, 255);
    TextDrawFont(Textdraw3, 3);
    TextDrawLetterSize(Textdraw3, 0.549998, 1.100000);
    TextDrawColor(Textdraw3, 65535);
    TextDrawSetOutline(Textdraw3, 1);
    TextDrawSetProportional(Textdraw3, 1);
    
    Textdraw4 = TextDrawCreate(507.000000, 103.000000, "/rules");
    TextDrawBackgroundColor(Textdraw4, 255);
    TextDrawFont(Textdraw4, 3);
    TextDrawLetterSize(Textdraw4, 0.439999, 1.100000);
    TextDrawColor(Textdraw4, 16711935);
    TextDrawSetOutline(Textdraw4, 1);
    TextDrawSetProportional(Textdraw4, 1);
    
    Textdraw5 = TextDrawCreate(499.000000, 108.000000, "....");
    TextDrawBackgroundColor(Textdraw5, 255);
    TextDrawFont(Textdraw5, 3);
    TextDrawLetterSize(Textdraw5, 0.519999, 1.200000);
    TextDrawColor(Textdraw5, -16776961);
    TextDrawSetOutline(Textdraw5, 1);
    TextDrawSetProportional(Textdraw5, 1);
    
    Textdraw6 = TextDrawCreate(521.000000, 108.000000, "....");
    TextDrawBackgroundColor(Textdraw6, 255);
    TextDrawFont(Textdraw6, 3);
    TextDrawLetterSize(Textdraw6, 0.519999, 1.200000);
    TextDrawColor(Textdraw6, -65281);
    TextDrawSetOutline(Textdraw6, 1);
    TextDrawSetProportional(Textdraw6, 1);
    
    Textdraw7 = TextDrawCreate(543.000000, 108.000000, "....");
    TextDrawBackgroundColor(Textdraw7, 255);
    TextDrawFont(Textdraw7, 3);
    TextDrawLetterSize(Textdraw7, 0.519999, 1.200000);
    TextDrawColor(Textdraw7, 65535);
    TextDrawSetOutline(Textdraw7, 1);
    TextDrawSetProportional(Textdraw7, 1);
    
    Textdraw8 = TextDrawCreate(564.000000, 93.000000, ":");
    TextDrawBackgroundColor(Textdraw8, 255);
    TextDrawFont(Textdraw8, 3);
    TextDrawLetterSize(Textdraw8, 0.319999, 3.399997);
    TextDrawColor(Textdraw8, 16711935);
    TextDrawSetOutline(Textdraw8, 1);
    TextDrawSetProportional(Textdraw8, 1);
    
    Textdraw9 = TextDrawCreate(496.000000, 93.000000, ":");
    TextDrawBackgroundColor(Textdraw9, 255);
    TextDrawFont(Textdraw9, 3);
    TextDrawLetterSize(Textdraw9, 0.319999, 3.399997);
    TextDrawColor(Textdraw9, 16711935);
    TextDrawSetOutline(Textdraw9, 1);
    TextDrawSetProportional(Textdraw9, 1);
    
    Textdraw10 = TextDrawCreate(429.000000, 142.000000, ".");
    TextDrawBackgroundColor(Textdraw10, 255);
    TextDrawFont(Textdraw10, 3);
    TextDrawLetterSize(Textdraw10, 0.009999, 0.000000);
    TextDrawColor(Textdraw10, 16711935);
    TextDrawSetOutline(Textdraw10, 1);
    TextDrawSetProportional(Textdraw10, 1);
    
    // You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
    // TextDrawDestroy functions to show, hide, and destroy the textdraw.

    Cum pun acest textdarw in GameMod sau stil FS

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.