hi,...im trying to put some of my maps intp my samp server...its compiled succsessfully and i have the .pwn and .amx file...but i dont know where to put them!!!
.please help me, im a n00b at pawno and really want to use my maps on my server.
. and its just a map...i don't know if its a filter script or a gamemode..like i said..im a n00b at pawno..its just a map made for samp with the samp map editor. i just dont know where to put it to get it to appear in the server.
ooh and i frgt...idk if this is important or not, but its just a car show stage, there are no scripts..just plain creat obj scripts..i placed the scripts like this and then compiled it
Use this as the script, and compile and run it and put both the .pwn and the .amx in your filterscript folder.
Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateObject(6420, -1334.77, -190.99, -2.91, 0.00, 0.00, 0.00);
CreateObject(1655, -1326.07, -163.86, 11.62, 0.00, 0.00, -90.00);
CreateObject(1655, -1326.03, -172.70, 11.62, 0.00, 0.00, -90.00);
CreateObject(1655, -1325.96, -181.36, 11.62, 0.00, 0.00, -90.00);
CreateObject(1655, -1325.83, -189.83, 11.62, 0.00, 0.00, -90.00);
CreateObject(3872, -1332.91, -237.16, 20.22, 0.00, 0.00, 109.00);
CreateObject(3872, -1344.85, -237.56, 15.87, 0.00, 0.00, 175.00);
CreateObject(3872, -1331.25, -233.63, 18.57, 0.00, 0.00, 0.00);
CreateObject(3872, -1339.81, -235.38, 16.93, -180.00, 0.00, -98.00);
CreateObject(3872, -1334.82, -230.78, 23.00, 0.00, 0.00, 153.00);
CreateObject(3872, -1331.82, -231.13, 18.08, 0.00, 0.00, -33.00);
CreateObject(3461, -1345.86, -233.86, 17.31, 0.00, 0.00, 0.00);
CreateObject(3461, -1345.86, -233.86, 17.31, 0.00, 0.00, 0.00);
CreateObject(3461, -1339.34, -225.72, 18.00, 0.00, 0.00, 0.00);
CreateObject(3461, -1326.67, -233.66, 17.00, 0.00, 0.00, 0.00);
CreateObject(3461, -1348.91, -231.63, 16.28, 0.00, 0.00, 0.00);
CreateObject(3461, -1343.48, -220.10, 16.38, 0.00, 0.00, 0.00);
CreateObject(3461, -1328.80, -216.85, 17.69, 0.00, 0.00, 0.00);
CreateObject(3461, -1324.86, -232.17, 16.33, 0.00, 0.00, 0.00);
CreateObject(3461, -1327.28, -241.97, 14.95, 0.00, 0.00, 0.00);
CreateObject(1278, -1350.45, -236.90, 7.27, 0.00, 0.00, 0.00);
CreateObject(1278, -1340.04, -232.75, 13.79, 0.00, 0.00, 0.00);
CreateObject(1278, -1334.95, -242.26, 11.07, 0.00, 0.00, 0.00);
CreateObject(1278, -1325.02, -233.86, 10.14, 0.00, 0.00, -76.00);
CreateObject(1278, -1327.96, -228.87, 9.25, -180.00, 0.00, -164.00);
CreateObject(1278, -1334.68, -223.19, 8.61, 0.00, 0.00, 153.00);
CreateObject(2780, -1342.64, -235.56, 14.00, 0.00, 0.00, 0.00);
CreateObject(2780, -1331.76, -228.76, 18.00, 0.00, 0.00, 0.00);
CreateObject(2780, -1330.54, -228.89, 22.00, 0.00, 0.00, 0.00);
CreateObject(2780, -1334.28, -228.62, 22.00, 0.00, 0.00, 0.00);
CreateObject(2780, -1333.86, -227.21, 16.00, 0.00, 0.00, 0.00);
CreateObject(2780, -1337.07, -223.86, 20.00, 0.00, 0.00, 0.00);
CreateObject(1565, -1336.04, -224.60, 20.00, 0.00, 0.00, 0.00);
CreateObject(1565, -1334.51, -227.61, 21.00, 0.00, 0.00, 0.00);
CreateObject(1565, -1332.03, -229.20, 21.00, 0.00, 0.00, 0.00);
CreateObject(1565, -1330.43, -228.72, 20.00, 0.00, 0.00, 0.00);
CreateObject(1565, -1334.43, -226.06, 16.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1339.24, -230.53, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1338.09, -230.59, 18.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1335.27, -229.77, 19.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1332.15, -229.04, 20.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1332.96, -228.93, 17.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1336.61, -229.65, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1342.18, -230.66, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1343.93, -217.05, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1343.92, -212.64, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1343.39, -209.16, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1343.74, -205.25, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1343.50, -198.07, 13.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1329.75, -213.97, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1342.24, -215.01, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1342.08, -211.63, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1329.61, -210.48, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1335.44, -232.42, 15.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1330.36, -227.23, 20.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1334.64, -228.46, 20.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1337.75, -231.10, 17.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1330.82, -227.62, 21.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1332.65, -228.12, 21.00, 0.00, 0.00, 0.00);
CreateObject(3385, -1332.23, -227.44, 18.00, 0.00, 0.00, 0.00);
CreateObject(354, -5748.59, -6897.25, -5977.00, 0.00, 0.00, 0.00);
CreateObject(354, -3940.20, -9016.27, -4309.00, 0.00, 0.00, 0.00);
CreateObject(354, -1399.47, -267.01, 24.00, 0.00, 0.00, 0.00);
CreateObject(354, -1332.24, -227.45, 17.00, 0.00, 0.00, 0.00);
CreateObject(354, -1329.87, -227.13, 19.00, 0.00, 0.00, 0.00);
CreateObject(354, -1328.61, -227.15, 22.00, 0.00, 0.00, 0.00);
CreateObject(354, -1335.12, -227.87, 21.00, 0.00, 0.00, 0.00);
CreateObject(354, -1338.45, -229.77, 18.00, 0.00, 0.00, 0.00);
CreateObject(354, -1342.75, -231.83, 13.00, 0.00, 0.00, 0.00);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}