[HELP] MTA To Pawn for SAMP problem.
#1

Okay dont flame me if iv got this all wrong! I am new to this and excuse my ignorince.

Okay so basicly iv used the very good MTA Mapper and I would like to transfer it to a SAMP server. Although, iv watched ******* vids and cant seem to get this right. Iv checked the server.cpg and its got the FILTERSCRIPT right. It just doesnt load the objects up!

NOTE: I have converted it with FFSConvert!!!

So basicly this is the script in pawno - http://pastebin.com/hY0cNPK1



Iv put that into the pawno, iv hit compile/compile and run and it has NO errors. But when i go into a game it doesnt show the objects. I use the game mode - grandlarc (A default gamemode)

WHAT HAVE I DONE WRONG!!!!!?
Reply
#2

Try this:
pawn Код:
#include <a_samp>
     
public OnFilterScriptInit()
{
    CreateObject(1712,2147.59960938,-1251.19921875,24.00000000,0.00000000,0.00000000,91.99401855); //object(kb_couch05) (1)
    CreateObject(1712,2150.69995117,-1249.69995117,24.00000000,0.00000000,0.00000000,269.99951172); //object(kb_couch05) (1)
    CreateObject(1527,2151.30004883,-1250.40002441,25.39999962,0.00000000,0.00000000,0.00000000); //object(tag_rollin) (3)
    CreateObject(1372,2158.00000000,-1254.30004883,24.00000000,0.00000000,0.00000000,0.00000000); //object(cj_dump2_low) (1)
    CreateObject(1264,2156.69995117,-1254.69995117,24.50000000,0.00000000,0.00000000,0.00000000); //object(blackbag1) (1)
    CreateObject(2675,2158.10009766,-1255.50000000,24.10000038,0.00000000,0.00000000,298.00000000); //object(proc_rubbish_6) (1)
    CreateObject(2315,2149.09960938,-1249.69921875,24.00000000,0.00000000,0.00000000,271.99951172); //object(cj_tv_table4) (1)
    CreateObject(1485,2149.10009766,-1251.30004883,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ciggy) (1)
    CreateObject(1485,2149.10009766,-1249.59997559,24.50000000,0.00000000,0.00000000,233.99993896); //object(cj_ciggy) (2)
    CreateObject(1543,2148.80004883,-1250.30004883,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_2) (1)
    CreateObject(1544,2149.39990234,-1250.00000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (1)
    CreateObject(2629,2149.19995117,-1254.40002441,24.00000000,0.00000000,0.00000000,181.99996948); //object(gym_bench1) (1)
    CreateObject(1478,2145.89990234,-1230.80004883,23.60000038,0.00000000,0.00000000,93.99993896); //object(dyn_post_box) (2)
    CreateObject(3065,2158.10009766,-1241.80004883,24.10000038,0.00000000,0.00000000,0.00000000); //object(bball_col) (1)
    CreateObject(1328,2152.19995117,-1243.80004883,24.89999962,0.00000000,0.00000000,0.00000000); //object(binnt10_la) (1)
    CreateObject(3496,2160.50000000,-1240.90002441,24.00000000,0.00000000,0.00000000,86.00000000); //object(vgsxrefbballnet) (1)
    return 1;    
}
Reply
#3

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Try this:
pawn Код:
#include <a_samp>
     
public OnFilterScriptInit()
{
    CreateObject(1712,2147.59960938,-1251.19921875,24.00000000,0.00000000,0.00000000,91.99401855); //object(kb_couch05) (1)
    CreateObject(1712,2150.69995117,-1249.69995117,24.00000000,0.00000000,0.00000000,269.99951172); //object(kb_couch05) (1)
    CreateObject(1527,2151.30004883,-1250.40002441,25.39999962,0.00000000,0.00000000,0.00000000); //object(tag_rollin) (3)
    CreateObject(1372,2158.00000000,-1254.30004883,24.00000000,0.00000000,0.00000000,0.00000000); //object(cj_dump2_low) (1)
    CreateObject(1264,2156.69995117,-1254.69995117,24.50000000,0.00000000,0.00000000,0.00000000); //object(blackbag1) (1)
    CreateObject(2675,2158.10009766,-1255.50000000,24.10000038,0.00000000,0.00000000,298.00000000); //object(proc_rubbish_6) (1)
    CreateObject(2315,2149.09960938,-1249.69921875,24.00000000,0.00000000,0.00000000,271.99951172); //object(cj_tv_table4) (1)
    CreateObject(1485,2149.10009766,-1251.30004883,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ciggy) (1)
    CreateObject(1485,2149.10009766,-1249.59997559,24.50000000,0.00000000,0.00000000,233.99993896); //object(cj_ciggy) (2)
    CreateObject(1543,2148.80004883,-1250.30004883,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_2) (1)
    CreateObject(1544,2149.39990234,-1250.00000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (1)
    CreateObject(2629,2149.19995117,-1254.40002441,24.00000000,0.00000000,0.00000000,181.99996948); //object(gym_bench1) (1)
    CreateObject(1478,2145.89990234,-1230.80004883,23.60000038,0.00000000,0.00000000,93.99993896); //object(dyn_post_box) (2)
    CreateObject(3065,2158.10009766,-1241.80004883,24.10000038,0.00000000,0.00000000,0.00000000); //object(bball_col) (1)
    CreateObject(1328,2152.19995117,-1243.80004883,24.89999962,0.00000000,0.00000000,0.00000000); //object(binnt10_la) (1)
    CreateObject(3496,2160.50000000,-1240.90002441,24.00000000,0.00000000,0.00000000,86.00000000); //object(vgsxrefbballnet) (1)
    return 1;    
}
May I ask what you did? It worked!!! hehe!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)