Aller au contenu
San Andreas Multiplayer

Gwada's

Membres
  • Compteur de contenus

    8
  • Contenu moyen par jour

    0,26
  • Points

  • Inscription

  • Dernière visite

Réputation sur la communauté

1 Neutre

À propos de Gwada's

  • Rang
    Observateur

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. 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é !
  2. Oui, je l'ai téléchargé ici : https://github.com/samp-incognito/samp-streamer-plugin/releases/tag/v2.9.4
  3. @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...
  4. @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.
  5. 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...
  6. @Tysanio : Je n'ai aucun plugins excepté sscanf.dll @C_far : J'avais trouvé un exemple basique de FS que j'ai réadapter à mon cas : #include <a_samp> #define FILTERSCRIPT #if defined FILTERSCRIPT //--------------MAIN------------- public OnFilterScriptInit() { // SAFE ZONE : CreateObject(19377,-989.4249878,1510.1810303,5960.2421875,0.0000000,90.0000000,0.0000000); CreateObject(19377,-989.4249878,1500.5640869,5960.2421875,0.0000000,90.0000000,0.0000000); CreateObject(19377,-978.9249878,1500.5640869,5960.2421875,0.0000000,90.0000000,0.0000000); CreateObject(19377,-978.9249878,1510.1810303,5960.2421875,0.0000000,90.0000000,0.0000000); CreateObject(19376,-994.6010132,1500.5451660,5965.5791016,0.0000000,0.0000000,0.0000000); CreateObject(19376,-994.6010132,1510.1290283,5965.5791016,0.0000000,0.0000000,0.0000000); CreateObject(19376,-990.0709839,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19376,-980.5609741,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19376,-970.9239502,1514.9100342,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19376,-973.8399658,1510.0500488,5965.5791016,0.0000000,0.0000000,0.0000000); CreateObject(19376,-973.8399658,1500.5030518,5965.5791016,0.0000000,0.0000000,0.0000000); CreateObject(19376,-978.6519775,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19376,-988.2609863,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19376,-997.7680054,1495.8029785,5965.5791016,0.0000000,0.0000000,90.0000000); CreateObject(19375,-989.3870239,1500.6540527,5970.9086914,0.0000000,90.0000000,0.0000000); CreateObject(19375,-989.3870239,1510.2080078,5970.9086914,0.0000000,90.0000000,0.0000000); CreateObject(19375,-978.9699707,1500.6540527,5970.9086914,0.0000000,90.0000000,0.0000000); CreateObject(19375,-978.9699707,1510.2340088,5970.9086914,0.0000000,90.0000000,0.0000000); new tmpobjid; tmpobjid = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(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 = CreateObject(19377, -989.424987, 1510.181030, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateObject(19377, -989.424987, 1500.564086, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateObject(19377, -978.924987, 1500.564086, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateObject(19377, -978.924987, 1510.181030, 5960.242187, 0.000000, 90.000000, 0.000000, 300.00); return 1; } //--------------EXIT------------- public OnFilterScriptExit() { return 1; } #else //--------------MAIN------------- main(){} #endif
  7. Merci de ta réponse, Malheureusement, après avoir essayé ça ne marche pas. Je n'ai aucune erreur de compilation, mais mes maps ne s'affichent pas InGame. J'ai relevé aussi un point : mon serveur (console) me dit qu'il a chargé qu'un seul FS sur les 2. Pourtant, il détecte bien les deux fichiers..
  8. Bonjour,Je suis débutant en développement PAWN et depuis un moment, je cherche comment mettre dans un fichier à part (autre que le GM) mes maps.J'ai essayé diverses solutions, mais impossible de les charger (soit des erreurs ou soit la map n'est pas prise en compte).Est ce que quelqu'un pourrait m'expliquer ou me donner un exemple svp ?
×
×
  • Créer...