Aller au contenu
San Andreas Multiplayer

Gwada's

Membres
  • Compteur de contenus

    18
  • Points

  • Inscription

  • Dernière visite

Réputation sur la communauté

1 Neutre

À propos de Gwada's

  • Rang
    Membre

Informations personnelles

  • Discord
    Gwada's#4769

Compétences

  • Pawn
  • Web front-end
  • Web back-end
  • Mapping
  • Graphisme

Visiteurs récents du profil

Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.

  1. resolu à delete
  2. Tout fonctionne ! Merci de tes indications Vichenz0 !
  3. Salut, après plusieurs jours de recherches, j'ai réussi à afficher 1 mapping (à tester si avec les autres ça marche) ! Dans mon serveur.cfg, à la ligne des plugins j'avais ça : plugins mysql Whirlpool bcrypt-samp sscanf streamer profiler Que j'ai remplacer par ça (et ajouter le plugin nativechecker.dll) : plugins streamer mysql Whirlpool bcrypt-samp sscanf profiler nativechecker Depuis tout marche correctement, peut-être que l'ordre des plugins ont un effet ? Je reviendrai sous peu faire un feedback une fois que j'aurai importé tout mes mappings au format CreateDynamicObject
  4. Ca n'a pas marché... Mais j'ai réussi en remplaçant par les fonctions native.. Les textures, textdraw et les objets s'affiche bien. Du coup : tmpobjid = CreateDynamicObject(19896, 601.956115, 364.096313, 3154.201904, 0.000000, 0.000000, -39.300006, -1, -1, -1, 300.00, 300.00); devient : tmpobjid = CreateObject(1339,2110.987,-1923.591,17.040,0.000,0.000,90.000); ________________ SetObjectMaterial(tmpobjid, 0, 17524, "lae2bigblock", "venfood01_law", 0x00000000); devient : SetObjectMaterial(tmpobjid, 0, 6959, "vgnbasktball", "yellowbball", 0x00000000); ____________________ SetDynamicObjectMaterialText(tmpobjid, 0, "ANPE", 80, "Calibri", 20, 0, 0xFFFFFFFF, 0x00000000, 0); Devient : SetObjectMaterialText(tmpobjid, "ANPE", 0, 120, "Calibri", 35, 0, 0xFFFFFFFF, 0x00000000, 0); __________________ En faisant ça tout marche correctement
  5. J'ai presque résolu mon problème, merci Vichenz0 tu m'as mis sur la bonne voie ! Tu avais raison que les 5 dernier paramètres étaient en trop, mais il fallait également convertir de CreateDynamicObject en CreateObject ! Maintenant, le mapping se charge, mais il n'y a plus les textures ><
  6. Je n'ai pas encore essayé t'as première solution, mais en ce qui concerne la deuxième, j'ai testé que avec un mapping.
  7. Je vais essayer de les retirer, mais je suis pas sûr.. Car sur TStudio, ça marche bien. Je reviens vite vers toi
  8. Salut, Oui, j'ai mis l'include <streamer> juste après le a_samp
  9. Bonjour ! Depuis un moment, j'essaie d'externaliser mes mappings dans des fichiers .pwn mais je n'arrives pas à les afficher inGame. Dans mon GM, j'ai un include qui contient une fonction : #include "maps/m_maps.pwn" J'appel cette fonction dans OnGameModeInit() : public OnGameModeInit() { // Chargement des mappings : mappings_export(); } Cet include contient 2 fonctions, que j'englobe dans une fonction mappings_export : #include "maps/private/mp_mapsPrivate.pwn" #include "maps/public/mp_mapsPublic.pwn" stock mappings_export() { mappingPublic_export(); mappingPrivate_export(); } Dans le fichier mp_mapsPublic.pwn, il y a une autre fonction qui retourne un mapping : #include "maps/public/anpe.pwn" stock mappingPublic_export() { mapping_Anpe(); } Et dans la fonction mapping_Anpe, se trouve mon mapping : stock mapping_Anpe() { new tmpobjid; tmpobjid = CreateDynamicObject(19451, 582.072082, 375.641387, 3157.026611, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 579.152404, 375.658081, 3155.195800, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(14877, 585.139282, 372.359039, 3153.185546, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000); tmpobjid = CreateDynamicObject(14877, 585.139282, 375.348999, 3153.185546, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 579.604614, 380.346984, 3157.026611, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 579.636230, 370.941406, 3157.026611, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 587.207519, 370.924652, 3153.533447, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 589.253295, 376.867706, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 587.207519, 370.924591, 3157.026611, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 584.382141, 381.588775, 3157.016601, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 587.665832, 375.019836, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 589.286132, 376.871643, 3153.523437, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 598.128845, 375.022369, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 588.015625, 366.098083, 3153.533447, 0.000000, -180.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 588.015075, 366.067901, 3157.026611, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 596.319030, 376.860839, 3153.520263, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 596.218933, 376.860839, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 600.965942, 377.517089, 3153.523437, 0.000000, -180.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 596.511108, 365.436798, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 595.962646, 359.881988, 3153.523437, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 596.052856, 359.892333, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 600.965881, 377.517089, 3157.013671, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 607.012145, 365.439697, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, 608.624084, 375.020812, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 608.367492, 364.628875, 3153.523437, 0.000000, -180.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 608.367492, 364.718994, 3157.013671, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 605.592102, 359.881988, 3153.523437, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 605.682189, 359.892333, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 605.817749, 372.786895, 3153.523437, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 605.737670, 372.776885, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 608.370178, 370.479736, 3153.523437, 0.000000, -180.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 608.370178, 370.569793, 3157.013671, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 604.112060, 365.439697, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 593.611938, 365.439697, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 593.611938, 375.059478, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 604.112915, 375.059478, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 583.132263, 375.589416, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19451, 579.673706, 376.857696, 3157.023681, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 586.070922, 365.436798, 3153.205078, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 586.343017, 359.881988, 3153.523437, 0.000000, -180.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 586.433044, 359.892333, 3157.013671, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 583.122009, 365.989929, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 586.061462, 355.806854, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, 583.121887, 356.369720, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(2115, 597.406005, 374.172760, 3152.910644, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000); tmpobjid = CreateDynamicObject(2115, 594.956054, 374.172760, 3152.910644, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 607.012145, 355.820098, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, 596.522888, 355.820098, 3153.195068, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateDynamicObject(19451, 588.004882, 356.598052, 3153.533447, 0.000000, -180.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19451, 588.025207, 356.518066, 3157.026611, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14383, "burg_1", "hospital_wall2", 0x00000000); tmpobjid = CreateDynamicObject(19376, 593.611938, 355.819641, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19376, 604.112060, 355.800079, 3158.699707, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 591.936828, 369.296020, 3157.802734, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 591.936828, 366.086059, 3157.802734, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 603.527160, 371.095825, 3157.812988, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 603.527160, 367.925872, 3157.812988, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 603.517150, 366.105682, 3157.812988, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 602.014953, 364.495330, 3157.803466, 0.000000, 0.000000, -89.699989, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 598.805236, 364.478454, 3157.803466, 0.000000, 0.000000, -89.699989, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 595.605346, 364.461669, 3157.803466, 0.000000, 0.000000, -89.699989, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 593.455139, 364.450408, 3157.803466, 0.000000, 0.000000, -89.699989, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19358, 599.857727, 364.431762, 3156.783691, 0.000000, 0.000000, -89.899978, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 1977, "cooler1", "koen_win", 0x00000000); tmpobjid = CreateDynamicObject(11737, 583.583862, 374.018524, 3155.277832, 0.000000, -0.100000, -90.699989, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "black64", 0x00000000); tmpobjid = CreateDynamicObject(19482, 582.735839, 371.597351, 3155.292480, 0.000000, -89.699943, -179.599929, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "ANPE", 80, "Calibri", 20, 0, 0xFFFFFFFF, 0x00000000, 0); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(19451, 584.319274, 381.587188, 3153.523437, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1536, 582.151855, 375.448303, 3155.239990, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1536, 582.188049, 372.449523, 3155.239990, 0.000000, 0.000000, 89.899986, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11711, 582.208190, 374.047332, 3158.102050, 0.000000, 0.000000, 90.700004, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 591.572082, 369.577819, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(16779, 585.469360, 373.750335, 3158.745849, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 596.370056, 373.367767, 3158.594726, 0.000000, 0.000000, 89.400024, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 596.318786, 368.507720, 3158.594726, 0.000000, 0.000000, 89.400024, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 596.283081, 365.197204, 3158.594726, 0.000000, 0.000000, 89.400024, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 602.420043, 364.902954, 3158.594726, 0.000000, 0.000000, 89.400024, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 602.398620, 368.444580, 3158.594726, 0.000000, 0.000000, 89.400024, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 591.572082, 366.717864, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19925, 591.569824, 364.123504, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2608, 607.330139, 372.464416, 3154.550781, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 595.548095, 376.110229, 3153.170898, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 596.868408, 376.110229, 3153.170898, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 598.189147, 376.110229, 3153.170898, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 594.138610, 376.110229, 3153.170898, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 600.281799, 375.191467, 3153.160888, 0.000000, 0.000000, -90.600006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1727, 600.267700, 373.851501, 3153.160888, 0.000000, 0.000000, -90.600006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2059, 595.301513, 374.274566, 3153.731445, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2001, 600.176208, 376.134490, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11721, 588.091674, 369.193908, 3154.031738, 0.000000, 0.000000, 89.900032, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2257, 600.853759, 374.620971, 3156.403320, 0.000000, 0.000000, -90.200004, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2616, 590.769592, 376.722167, 3154.872558, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19931, 591.572937, 364.921722, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2961, 604.259521, 372.662811, 3155.132812, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 593.426391, 364.122955, 3153.281005, 0.000000, 0.000000, 90.100006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 596.286682, 364.128021, 3153.281005, 0.000000, 0.000000, 90.100006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 601.996520, 364.137817, 3153.281005, 0.000000, 0.000000, 90.100006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 599.146484, 364.132873, 3153.281005, 0.000000, 0.000000, 90.100006, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 603.860717, 365.140228, 3153.281005, 0.000000, 0.000000, -179.899978, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19929, 603.855773, 368.000244, 3153.281005, 0.000000, 0.000000, -179.899978, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19926, 603.860656, 370.387359, 3153.281005, 0.000000, 0.000000, 179.200027, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 604.115417, 365.394439, 3154.200683, 0.000000, 0.000000, 87.200027, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 590.462402, 365.392669, 3153.281005, 0.000000, 0.000000, -88.200050, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 590.420959, 366.722106, 3153.281005, 0.000000, 0.000000, -88.200050, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 590.380004, 368.021392, 3153.281005, 0.000000, 0.000000, -88.200050, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 605.139648, 365.389099, 3153.281005, 0.000000, 0.000000, 87.899932, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(106, 606.826477, 362.306579, 3153.281005, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 591.367370, 365.362030, 3154.200683, 0.000000, 0.000000, -91.199920, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2059, 598.162658, 374.274566, 3153.731445, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19894, 604.078063, 368.106445, 3154.201904, 0.000000, 0.000000, -90.800010, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19894, 591.291625, 370.606567, 3154.201904, 0.000000, 0.000000, -88.700012, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 605.189086, 366.736236, 3153.281005, 0.000000, 0.000000, 87.899932, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 593.638366, 363.015472, 3153.281005, 0.000000, 0.000000, -2.099931, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19807, 602.082824, 363.883087, 3154.231933, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19807, 599.682067, 363.883087, 3154.231933, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 605.233398, 367.944732, 3153.281005, 0.000000, 0.000000, 87.899932, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 605.281372, 369.253173, 3153.281005, 0.000000, 0.000000, 87.899932, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 590.341918, 369.240936, 3153.281005, 0.000000, 0.000000, -88.200050, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 605.326416, 370.482269, 3153.281005, 0.000000, 0.000000, 87.899932, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 590.301086, 370.540283, 3153.281005, 0.000000, 0.000000, -88.200050, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 595.347106, 362.952850, 3153.281005, 0.000000, 0.000000, -2.099931, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 597.275878, 362.882171, 3153.281005, 0.000000, 0.000000, -2.099931, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19926, 603.887512, 372.307128, 3153.281005, 0.000000, 0.000000, 179.200027, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 604.138916, 366.694885, 3154.200683, 0.000000, 0.000000, 89.500030, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19894, 604.111450, 370.506195, 3154.201904, 0.000000, 0.000000, -90.800010, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 604.161437, 369.274719, 3154.200683, 0.000000, 0.000000, 89.500030, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 599.364440, 362.805633, 3153.281005, 0.000000, 0.000000, -2.099931, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2356, 601.632629, 362.722503, 3153.281005, 0.000000, 0.000000, -2.099931, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 591.303527, 368.043945, 3154.200683, 0.000000, 0.000000, -88.899917, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 591.280578, 369.243743, 3154.200683, 0.000000, 0.000000, -88.899917, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19894, 591.380371, 366.697570, 3154.201904, 0.000000, 0.000000, -88.700012, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19897, 594.879699, 374.258331, 3153.711425, 0.000000, 0.000000, 11.300000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 593.623291, 363.865844, 3154.200683, 0.000000, 0.000000, 0.900060, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 595.363159, 363.893096, 3154.200683, 0.000000, 0.000000, -0.699939, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 597.313171, 363.869293, 3154.200683, 0.000000, 0.000000, -0.699939, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 601.633483, 363.856567, 3154.200683, 0.000000, 0.000000, -0.699939, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19807, 597.671752, 363.883087, 3154.231933, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19893, 599.363098, 363.844268, 3154.200683, 0.000000, 0.000000, -0.699939, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19807, 595.671569, 363.883087, 3154.231933, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19807, 593.921447, 363.883087, 3154.231933, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11706, 607.928588, 360.272644, 3153.281005, 0.000000, 0.000000, 32.899990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1569, 606.164855, 372.739715, 3153.281005, 0.000000, 0.000000, 179.899795, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19835, 604.069274, 369.581451, 3154.281982, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19810, 604.444396, 372.690032, 3154.661865, 0.000000, 0.000000, -179.999938, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19825, 598.888427, 360.020172, 3156.162353, 0.000000, 0.000000, -179.200057, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19896, 601.956115, 364.096313, 3154.201904, 0.000000, 0.000000, -39.300006, -1, -1, -1, 300.00, 300.00); } * J'ai fais un système équivalent pour les commandes et pour d'autres fonctions, ça marche très bien. ** J'ai également constaté que si je met un AddStaticVehicleEx au niveau du fichier mapping, le véhicule se load IG (contrairement aux objets du mapping). Ce qui signifie que ce n'est pas un problème de chemin. Pouvez-vous m'aider s'il vous plait, je ne sais plus quoi faire...
  10. Oui je l'ai mis. Putin je viens de voir que j'ai fais une erreur de très gros noob. Dans mon fichier serveur.cfg j'ai mis sur la ligne dédié au FS : originalMap et que mon fichier s'appelait originaMap... C'est sûr que ça n'allait jamais chargé. Après cette modification, ça marche ! Je tiens à te remercié pour ton aide qui m'a été d'une grande utilité !
  11. Oui, je l'ai téléchargé ici : https://github.com/samp-incognito/samp-streamer-plugin/releases/tag/v2.9.4
  12. @Tysanio Je n'ai plus les erreurs, mais ça n'apparait pas InGame. Ma console affiche ça : Filterscripts --------------- Loading filterscript 'vehiculeTeam.amx'... Loading filterscript 'originalMap.amx'... Unable to load filterscript 'originalMap.amx'. Loaded 1 filterscripts. Number of vehicle models: 8 Je ne comprends pas, car d'après mes recherches, on a se problème quand on a + de 16 filterscripts, hors que là j'en ai que 2...
  13. @Tysanio : J'ai fais ce que tu m'as dis, mais ça ne marche toujours pas Je te montre mon code au cas où un truc m'aurait échappé : #include <a_samp> #include <streamer> //--------------MAIN------------- public OnFilterScriptInit() { // SAFE ZONE : CreateDynamicObject(19377,-989.4249878,1510.1810303,5960.2421875,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19377,-989.4249878,1500.5640869,5960.2421875,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19377,-978.9249878,1500.5640869,5960.2421875,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19377,-978.9249878,1510.1810303,5960.2421875,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19376,-994.6010132,1500.5451660,5965.5791016,0.0000000,0.0000000,0.0000000); CreateDynamicObject(19376,-994.6010132,1510.1290283,5965.5791016,0.0000000,0.0000000,0.0000000); CreateDynamicObject(19376,-990.0709839,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19376,-980.5609741,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19376,-970.9239502,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19376,-973.8399658,1510.0500488,5965.5791016,0.0000000,0.0000000,0.0000000); CreateDynamicObject(19376,-973.8399658,1500.5030518,5965.5791016,0.0000000,0.0000000,0.0000000); CreateDynamicObject(19376,-978.6519775,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19376,-988.2609863,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19376,-997.7680054,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateDynamicObject(19375,-989.3870239,1500.6540527,5970.9086914,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19375,-989.3870239,1510.2080078,5970.9086914,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19375,-978.9699707,1500.6540527,5970.9086914,0.0000000,90.0000000,0.0000000); CreateDynamicObject(19375,-978.9699707,1510.2340088,5970.9086914,0.0000000,90.0000000,0.0000000); new tmpobjid; tmpobjid = CreateDynamicObject(19376, -994.601013, 1500.545166, 5965.579101, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -994.601013, 1510.129028, 5965.579101, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -990.070983, 1514.910034, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -980.560974, 1514.910034, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -970.923950, 1514.910034, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -973.839965, 1510.050048, 5965.579101, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -973.839965, 1500.503051, 5965.579101, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); SetObjectMaterial(tmpobjid, 11, 16640, "a51", "Alumox64", 0x00000000); tmpobjid = CreateDynamicObject(19376, -978.651977, 1495.802978, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -988.260986, 1495.802978, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19376, -997.768005, 1495.802978, 5965.579101, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14584, "ab_abbatoir01", "ab_concFloor", 0x00000000); tmpobjid = CreateDynamicObject(19375, -989.387023, 1500.654052, 5970.908691, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 3967, "cj_airprt", "CJ_BLACK_RUB2", 0x00000000); tmpobjid = CreateDynamicObject(19375, -989.387023, 1510.208007, 5970.908691, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 3967, "cj_airprt", "CJ_BLACK_RUB2", 0x00000000); tmpobjid = CreateDynamicObject(19375, -978.969970, 1500.654052, 5970.908691, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 3967, "cj_airprt", "CJ_BLACK_RUB2", 0x00000000); tmpobjid = CreateDynamicObject(19375, -978.969970, 1510.234008, 5970.908691, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 3967, "cj_airprt", "CJ_BLACK_RUB2", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(19377, -989.424987, 1510.181030, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateDynamicObject(19377, -989.424987, 1500.564086, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateDynamicObject(19377, -978.924987, 1500.564086, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateDynamicObject(19377, -978.924987, 1510.181030, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); return 1; } //--------------EXIT------------- public OnFilterScriptExit() { return 1; } La actuellement, j'obtiens des warnings : warning 213: tag mismatch En boucle sur chaque ligne où il y a CreateDynamicObject à partir du moment ou j'utilise la variable : tmpobjid Pourtant, mon serveur lit bien le streamer : *** Streamer Plugin v2.9.4 by Incognito loaded *** Loaded. Loaded 2 plugins. Si tu peux m'aider (encore une fois) ça serait top ! J'ai essayé de multiples combinaison... Mais rien à faire. @C_far : Quand tu dis "recompiler toi même", tu parles du code du mapping ? Non, j'ai utilisé Texture Studio pour le mapping.
  14. enleve le surplus du code qui est pour ongamemodeinit Tu parles de quoi exactement ? Car j'ai essayé plusieurs combinaison et j'ai toujours une erreur lors de la compilation...
×
×
  • Créer...