Noobspawn

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Guten Tag,


    habe mir ein bisschen Zeit genommen einen Noobspawn zu Mappen!


    Arbeitszeit waren 15 Minuten, es ist meine erste Map...


    Screens:







    Objecte:
    CreateObject(5710,1044.29980469,-895.89941406,46.09999847,0.99975586,0.00000000,271.99951172); //object(cem01_law)(1)
    CreateObject(997,1037.30004883,-903.29998779,42.40000153,0.00000000,0.00000000,272.00000000); //object(lhouse_barrier3)(1)
    CreateObject(997,1052.00000000,-902.90002441,42.70000076,0.00000000,0.00000000,271.99951172); //object(lhouse_barrier3)(2)
    CreateObject(1215,1037.40002441,-906.79998779,43.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight)(2)
    CreateObject(1215,1037.30004883,-903.09997559,43.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight)(3)
    CreateObject(1215,1036.09997559,-900.40002441,43.40000153,0.00000000,0.00000000,2.00000000); //object(bollardlight)(4)
    CreateObject(1215,1052.09997559,-906.29998779,43.20000076,0.00000000,0.00000000,1.99951172); //object(bollardlight)(7)
    CreateObject(1340,1049.40002441,-898.79998779,43.79999924,0.00000000,0.00000000,271.25000000); //object(chillidogcart)(1)
    CreateObject(2942,1047.40002441,-898.70001221,43.20000076,0.00000000,0.00000000,4.00000000); //object(kmb_atm1)(1)
    CreateObject(994,1067.00000000,-897.79998779,42.20000076,0.00000000,0.00000000,270.00000000); //object(lhouse_barrier2)(1)
    CreateObject(1215,1021.79998779,-899.29998779,41.79999924,0.00000000,0.00000000,0.00000000); //object(bollardlight)(9)
    CreateObject(1215,1021.90002441,-905.90002441,41.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight)(10)
    CreateObject(994,1021.79980469,-899.39941406,41.20000076,0.00000000,0.00000000,270.00000000); //object(lhouse_barrier2)(2)
    CreateObject(1215,1067.09997559,-904.29998779,42.70000076,0.00000000,0.00000000,1.99951172); //object(bollardlight)(11)
    CreateObject(1215,1067.00000000,-897.59997559,42.70000076,0.00000000,0.00000000,1.99951172); //object(bollardlight)(12)
    CreateObject(3506,1053.09997559,-901.59997559,41.90000153,0.00000000,0.00000000,263.00000000); //object(vgsn_nitree_y02)(1)
    CreateObject(3506,1035.69921875,-902.79980469,41.40000153,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_y02)(2)
    CreateObject(1597,1052.09997559,-911.40002441,44.29999924,0.00000000,0.00000000,0.00000000); //object(cntrlrsac1)(1)
    CreateObject(1597,1037.09960938,-912.00000000,44.00000000,0.00000000,0.00000000,0.00000000); //object(cntrlrsac1)(2)
    CreateObject(1364,1040.19995117,-898.90002441,43.29999924,0.00000000,0.00000000,2.50000000); //object(cj_bush_prop)(1)
    CreateObject(1361,1036.19995117,-900.50000000,43.20000076,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2)(1)
    CreateObject(1361,1052.80004883,-900.09997559,43.40000153,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2)(2)
    CreateObject(1215,1052.00000000,-902.79980469,43.20000076,0.00000000,0.00000000,1.99951172); //object(bollardlight)(13)
    CreateObject(1215,1038.69995117,-899.09997559,43.50000000,0.00000000,0.00000000,1.99951172); //object(bollardlight)(14)
    CreateObject(1215,1052.79980469,-900.09960938,43.59999847,0.00000000,0.00000000,1.99951172); //object(bollardlight)(15)
    CreateObject(1215,1052.79980469,-900.09960938,43.59999847,0.00000000,0.00000000,1.99951172); //object(bollardlight)(16)
    CreateObject(1215,1041.69995117,-899.00000000,43.50000000,0.00000000,0.00000000,1.99951172); //object(bollardlight)(17)
    CreateObject(8661,1045.00000000,-881.20001221,42.50000000,1.25000000,0.00000000,271.00000000); //object(gnhtelgrnd_lvs)(1)
    CreateObject(4023,1038.50000000,-864.40002441,54.29999924,0.00000000,0.00000000,0.00000000); //object(newdbbuild_lan04)(1)


    Gelöschte Objecte:
    RemoveBuildingForPlayer(playerid, 5849, 1046.6797, -935.1953, 46.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 5854, 992.5313, -962.7344, 60.7813, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1029.1797, -939.5156, 52.7500, 0.25);
    RemoveBuildingForPlayer(playerid, 3643, 992.4844, -896.2813, 46.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 3643, 1005.0625, -895.5547, 45.8594, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1029.1797, -939.5156, 52.7500, 0.25);
    RemoveBuildingForPlayer(playerid, 1294, 1034.7891, -950.3750, 46.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 5848, 1046.6797, -935.1953, 46.9922, 0.25);
    Fahrzeuge:
    AddStaticVehicleEx(462,1023.29998779,-902.79998779,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1025.00000000,-902.90002441,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1026.69995117,-902.90002441,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1028.40002441,-902.90002441,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1030.19995117,-902.90002441,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1055.69995117,-902.29998779,42.59999847,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1033.69995117,-902.90002441,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1032.00000000,-902.89941406,41.90000153,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1057.50000000,-902.29998779,42.59999847,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1059.30004883,-902.29998779,42.59999847,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1061.30004883,-902.29998779,42.59999847,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1063.30004883,-902.29998779,42.59999847,180.00000000,103,-1,-1); //Faggio
    AddStaticVehicleEx(462,1065.30004883,-902.20001221,42.59999847,180.00000000,103,-1,-1); //Faggio


    Hotdog stand:
    Create3DTextLabel("Kauf dir doch hier einen /hotdog!", 0x00FFFFFF, 1049.4683,-899.8482,43.6403,10.0,0);//eat
    CreateDynamicPickup(1239,1,1049.4683,-899.8482,43.6403);


    if(strcmp(cmd, "/hotdog", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(6.0, playerid, 1049.4683,-899.8482,43.6403))
    {
    new Float:health;
    GetPlayerHealth(playerid,health);
    if(health >= 75)
    {
    SetPlayerHealth(playerid, 100);
    ApplyAnimation(playerid,"FOOD","EAT_Burger", 3.0, 0, 0, 0, 0, 0);
    GivePlayerMoney(playerid, -10);
    SendClientMessage(playerid,0x000FFFFF,"Du hast dir einen Hotdog gekauft!");
    }
    else
    {
    SetPlayerHealth (playerid, health+25);
    ApplyAnimation(playerid,"FOOD","EAT_Burger", 3.0, 0, 0, 0, 0, 0);
    GivePlayerMoney(playerid,-10);
    SendClientMessage(playerid,0x000FFFFF,"Du hast dir einen Hotdog gekauft!");
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1,"Du bist nicht beim Hotdog stand!");
    return 1;
    }
    }
    return 1;


    Hoffe es gefällt jemanden


    Mfg


    Hydra

  • Nuja mir gefällt es, jeder hat nen anderen Geschmack ...

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Find ich schon besser ;)
    Nur so viele Roller auf einem Haufen, wirkt unrealistisch.

  • Nuja wenn du nen großen Server hast und man muss dan immer auf einen warten kommt das nicht gut an...