Pawno Crashing
#1

Hello!
I'm new in Samp But not in pawno scripting.I made objects in Mta Sa and saved them.Then i converted them and pasted them in new .pwn file and saved it (test.pwn) in filterscripts folder ,then i compiled it . I gone to server.cfg and typed in front of filterscripts test ,server loaded test.amx but when i gone to the place where i add objects.
2nd method
I saw this thread https://sampforum.blast.hk/showthread.php?tid=364378
i copied the code from ssfconverter and pasted them there


Please check if i pasted them in wrong place,after it i pressed f5 and this comes.



I will really appreciate it if someones help me ,Thanks for reading ,.....
Reply
#2

I want to see the whole paste you got on "public OnGameModeInit".

Maybe i am able to help you out.
Reply
#3

I got these codes from mta maps after converting them,i simply pasted them in my script


Quote:

CreateObject(1765,1966.90002441,-2599.19995117,12.50000000,0.00000000,0.00000000,0. 00000000); //object(low_single_2) (1)
CreateObject(2238,1959.80004883,-2602.50000000,13.00000000,0.00000000,0.00000000,0. 00000000); //object(cj_lava_lamp) (1)
CreateObject(16690,1967.69995117,-2593.69995117,17.10000038,0.00000000,0.00000000,0. 00000000); //object(des_westsaloon_02) (1)
CreateObject(1765,1966.90002441,-2599.19995117,12.50000000,0.00000000,0.00000000,0. 00000000); //object(low_single_2) (1)
CreateObject(2238,1959.80004883,-2602.50000000,13.00000000,0.00000000,0.00000000,0. 00000000); //object(cj_lava_lamp) (1)
CreateObject(933,2114.30004883,-1580.19995117,25.00000000,0.00000000,0.00000000,0. 00000000); //object(cj_cableroll) (1)
CreateObject(1365,1288.09997559,1289.19995117,11.0 0000000,0.00000000,0.00000000,0.00000000); //object(cj_big_skip1) (1)
CreateObject(15056,1288.09997559,1285.40002441,11. 30000019,0.00000000,0.00000000,0.00000000); //object(svsfsmshadfloor2) (1)
CreateObject(4821,1311.80004883,1309.59997559,23.7 9999924,0.00000000,0.00000000,0.00000000); //object(btoland2_las) (1)
return 1;

Reply
#4

Can you give me an example where to paste objects code.
Reply
#5

Quote:
Originally Posted by Nadeem
Посмотреть сообщение
Can you give me an example where to paste objects code.
when you opened pawm, click on new, you will see all basic codes...

and you can use
Код:
AddPlayerClass(/get some from debug mode);
or
Код:
AddStaticVehicle(//get some from debug mode, try to watch ******* video);
if you want world objects then try to find some tut on it
Reply
#6

Looking at the code, I would have to say first off, remove the following lines:
pawn Код:
return 1;
}

{
Reply
#7

@clarencecuzz
Removed them but still samething,
Can anyone do me a favour ?Make a simple filterscript with few objects and give me i will study it .
Reply
#8

Thanks all ,problem solved :P
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)