[NEED HELP] in making a map filterscript
#1

hello , hi everyone

can someone make me an fs of this map http://forum.sa-mp.com/index.php?topic=155041.0 (with Additonal walls and doors) or show me how to make the fs ,,, thanks


i would appriciate your help
Reply
#2

simply open pawno and hit "New" then go under OnGameModeInit and paste the "CreateObject" (the map) and hit compile then
You're Done
Reply
#3

i didnt get u can u explain me please?
Reply
#4

i got these errors
D:\Documents and Settings\user\Desktop\Server\filterscripts\myhouse .pwn(35) : error 021: symbol already defined: "CreateObject"
D:\Documents and Settings\user\Desktop\Server\filterscripts\myhouse .pwn(129) : error 021: symbol already defined: "SetGameModeText"
D:\Documents and Settings\user\Desktop\Server\filterscripts\myhouse .pwn(131) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#5

For creating an FS of this map you need to put the 'CreateObject' things in the OnFilterScriptInit.

But for helping you i created it:

pawn Код:
#define FILTERSCRIPT

#include <a_samp>

public OnFilterScriptInit()
{
    //=========================[Island]=========================================
    CreateObject( 16258, 713.127807 , -2830.472167 , -49.000000 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 16258, 786.879211 , -2788.695068 , -49.051086 , 0.000000 , 0.000000 , 616.000000);
    CreateObject( 14393, 775.366760 , -2852.287597 , 1000 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 11490, 775.366760 , -2852.287597 , 3.101735 , 0.000000 , 0.000000 , 180.000000);
    CreateObject( 11491, 775.361760 , -2841.227597 , 4.581735 , 0.000000 , 0.000000 , 180.000000);
    CreateObject( 1736, 775.343994 , -2845.351074 , 7.986301 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 1828, 773.874267 , -2849.023193 , 4.712166 , 0.000000 , 0.000000 , 972.000000);
    CreateObject( 11665, 778.163024 , -2848.560791 , 5.262573 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 11631, 778.724426 , -2855.769042 , 5.832248 , 0.000000 , 0.000000 , 2700.000000);
    CreateObject( 1723, 773.437622 , -2851.886474 , 4.543708 , 0.000000 , 0.000000 , 500.000000);
    CreateObject( 1723, 771.825256 , -2847.923095 , 4.659612 , 0.000000 , 0.000000 , 62.000000);
    CreateObject( 1646, 752.722167 , -2828.767333 , 2.899070 , 14.000000 , 4.000000 , 134.000000);
    CreateObject( 1637, 797.763366 , -2739.296386 , 3.537348 , 0.000000 , 0.000000 , 562.000000);
    CreateObject( 1645, 755.381652 , -2829.870117 , 2.989241 , 6.000000 , 4.000000 , 162.000000);
    CreateObject( 3461, 753.242614 , -2830.517822 , 4.409924 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3461, 781.970947 , -2839.107910 , 4.633762 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3461, 770.198242 , -2838.895019 , 4.482945 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3461, 793.469116 , -2849.874511 , 4.444637 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3461, 754.584960 , -2849.569335 , 4.983467 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3524, 775.391357 , -2844.545410 , 2.848451 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 11495, 739.596008 , -2809.593994 , 0.552734 , 0.000000 , 0.000000 , 22.000000);
    CreateObject( 628, 771.829040 , -2849.189697 , 6.439230 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 711, 758.597900 , -2831.965087 , 7.285028 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 711, 749.412597 , -2825.102294 , 6.212321 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 711, 753.797424 , -2834.210205 , 7.373906 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 711, 749.493286 , -2830.800781 , 6.950206 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 746, 752.793151 , -2831.859375 , 3.196425 , 0.000000 , 0.000000 , 710.000000);
    CreateObject( 747, 749.715209 , -2827.758789 , 2.571616 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 745, 758.796447 , -2833.511962 , 2.694536 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 745, 803.764343 , -2745.086669 , 1.771249 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 758, 788.502441 , -2746.630126 , 0.270166 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3461, 795.436279 , -2739.261718 , 3.969913 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 745, 797.694213 , -2751.673339 , 0.992662 , -4.000000 , -374.000000 , -252.000000);
    CreateObject( 747, 809.927429 , -2740.485839 , 0.770636 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 880, 808.694396 , -2757.377197 , 0.602614 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 1461, 797.715332 , -2743.173583 , 3.084697 , 0.000000 , 0.000000 , 292.000000);
    CreateObject( 620, 803.803283 , -2743.131591 , 2.027884 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 746, 799.412963 , -2735.666503 , 2.232966 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3507, 798.960815 , -2732.974365 , 1.892477 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 1642, 790.478576 , -2740.722412 , 1.562498 , 1272.000000 , 168.000000 , 272.000000);
    CreateObject( 3626, 743.321960 , -2850.708740 , 2.471598 , 0.000000 , 0.000000 , 90.000000);
    CreateObject( 3626, 747.092834 , -2850.708740 , 2.471598 , 0.000000 , 0.000000 , 90.000000);
    CreateObject( 6295, 664.527465 , -2828.540039 , 25.431104 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 3525, 664.734375 , -2830.136474 , 46.465351 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 14392, 775.500732 , -2852.239501 , 998.987304 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 14391, 776.419372 , -2853.211914 , 998.772949 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 16501, 784.189941 , -2853.812011 , 998.315429 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 14402, 771.519458 , -2841.296386 , 3.760829 , 0.000000 , 0.000000 , 90.000000);
    CreateObject( 14402, 778.750732 , -2839.212939 , 3.855211 , 0.000000 , 0.000000 , -85.000000);
    CreateObject( 14402, 775.750732 , -2839.212939 , 3.855211 , 0.000000 , 0.000000 , -85.000000);
    CreateObject( 18368, 788.338073 , -2837.393310 , -1.214880 , 0.000000 , 0.000000 , 81.000000);
    CreateObject( 1481, 781.346557 , -2842.115966 , 5.282270 , 0.000000 , 0.000000 , 270.000000);
    CreateObject( 1209, 773.206604 , -2856.266845 , 4.587175 , 0.000000 , 0.000000 , 180.000000);
    CreateObject( 749, 799.586425 , -2844.199951 , 2.616182 , 0.000000 , -88.000000 , 149.000000);
    CreateObject( 751, 805.584594 , -2847.051269 , 0.917457 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 751, 796.158386 , -2840.441162 , 2.724733 , 0.000000 , -88.000000 , 497.000000);
    CreateObject( 751, 792.195983 , -2838.640625 , 2.797317 , 0.000000 , 271.000000 , 153.000000);
    CreateObject( 751, 787.706054 , -2838.414306 , 2.694507 , 0.000000 , -88.000000 , 179.000000);
    CreateObject( 751, 787.416503 , -2838.270996 , 3.043086 , -41.000000 , -94.000000 , 361.000000);
    CreateObject( 747, 787.390197 , -2838.923339 , 2.906169 , 0.000000 , 0.000000 , 202.000000);
    CreateObject( 14402, 782.427185 , -2841.299804 , 3.831256 , 0.000000 , 0.000000 , 30.000000);
    CreateObject( 820, 795.641662 , -2835.278076 , -0.281279 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 820, 799.628112 , -2835.732666 , -0.329932 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 820, 802.533081 , -2839.652099 , -0.184889 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 820, 804.181457 , -2843.673828 , -0.279970 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 820, 792.411010 , -2836.382324 , -0.260778 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 856, 788.636108 , -2842.894775 , 3.274733 , 0.000000 , 0.000000 , 7.000000);
    CreateObject( 822, 802.613098 , -2848.104003 , 3.682669 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 813, 795.377807 , -2842.323242 , 5.201782 , 0.000000 , 0.000000 , 54.000000);
    CreateObject( 814, 798.977783 , -2854.163818 , 3.136753 , 0.000000 , 0.000000 , 143.000000);
    CreateObject( 728, 795.915893 , -2845.093017 , 3.136753 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 762, 799.099548 , -2850.169921 , 3.136753 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 800, 742.493469 , -2837.144287 , 3.835455 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 803, 751.945800 , -2839.794189 , 5.828198 , 0.000000 , 0.000000 , 11.000000);
    CreateObject( 805, 760.978088 , -2837.949218 , 4.345748 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 762, 745.792114 , -2835.337158 , 6.292323 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 762, 736.394042 , -2842.148681 , 6.230221 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 762, 733.836242 , -2852.465820 , 5.068370 , 0.000000 , 0.000000 , 33.000000);
    CreateObject( 762, 737.218811 , -2861.736572 , 6.685624 , 0.000000 , 0.000000 , 99.000000);
    CreateObject( 762, 747.773010 , -2867.318847 , 7.064486 , 0.000000 , 0.000000 , 231.000000);
    CreateObject( 800, 754.087341 , -2844.785644 , 4.800476 , 0.000000 , 0.000000 , 68.000000);
    CreateObject( 800, 759.247436 , -2841.550781 , 4.151706 , 0.000000 , 0.000000 , 215.000000);
    CreateObject( 762, 806.219909 , -2748.782714 , 4.119337 , 0.000000 , 0.000000 , 30.000000);
    CreateObject( 762, 805.732055 , -2736.918701 , 4.549339 , 0.000000 , 0.000000 , 0.000000);
    CreateObject( 1432,779.653137,-2840.894042,4.674414,0.000000,0.000000,52.500000);
    CreateObject( 1280,784.811584,-2837.284912,3.654738,0.000000,0.000000,-90.000000);

    //=========================[Wall]===========================================
    CreateObject( 10671,778.255615,-2844.951416,0.795554,90.000000,0.000000,270.000000);
    CreateObject( 10671,772.443542,-2844.951416,0.795554,90.000000,0.000000,270.000000);

    //=========================[Glass]==========================================
    CreateObject( 3851, 772.546325 , -2844.9 , 1.05 , -90.000000 , 0.000000 , 90.000000);
    CreateObject( 3851, 778.246512 , -2844.9 , 1.05 , -90.000000 , 0.000000 , 270.000000);

    //=========================[Door]===========================================
    CreateObject( 1557,778.984191,-2844.860595,4.334251,0.000000,0.000000,180.000000);
    CreateObject( 1557,778.984191,-2844.960595,4.334251,0.000000,0.000000,180.000000);
    CreateObject( 1557, 776.868705 , -2856.821777 , 4.404764 , 0.000000 , 0.000000 , 180.000000);
    CreateObject( 1557, 773.868083 , -2856.821777 , 4.404764 , 0.000000 , 0.000000 , 0.000000);
    return 1;
}
Reply
#6

Or, you could just add it in your OnGameModeInit.
________
Jaguar xk120 specifications
Reply
#7

thanks for the help man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)