Need help with objects .
#1

I made this with MTA, and converted it to this :

Код:
CreateObject(1684, 2509.211914, -1672.105591, 13.972688, 0.0, 0.0, 281.25); 	 // object
CreateObject(1632, 2504.10376, -1670.926636, 13.315081, 0.0, 0.0, 281.25); 	 // object (2)
CreateObject(3524, 2507.359863, -1667.303833, 13.298269, 0.0, 0.0, 269.99997); 	 // object (3)
CreateObject(3524, 2505.716064, -1675.430054, 13.159315, 0.0, 0.0, 292.49997); 	 // object (4)
But i have a problem, where i put this code so it would work ?
Reply
#2

pawn Код:
public OnGameModeInit()
{

// PUT YOUR CODE HERE

return 1;
}
But you wrote your question wrong place.

You should write here:
http://forum.sa-mp.com/index.php?board=10.0
Reply
#3

But what's the file name where i put it ?
Reply
#4

You have to open your own gamemode or filterscript with Pawno.

Format: filename.pwn

But I don't know what is the name of your gamemode.

If you don't know, then open server.cfg and check it on the gamemode line.
Reply
#5

echo Executing Server Config...
lanmode 0
rcon_password idonttellyou
maxplayers 32
port 7777
hostname Eesti roleplay .
gamemode0 Wasted 1
filterscripts adminspec vactions
announce 1
query 1
weburl www.sa-mp.com
anticheat 0
Reply
#6

I downloaded it from here
Reply
#7

Then open Wasted.pwn with pawno.exe.
Reply
#8

do you have msn ? then it's better to talk
Reply
#9

Yes, but my MSN address is private. Sorry.

So. Open pawno.exe which is in the pawno folder, open Wasted.pwn which is probably in your gamemodes folder. Find OnGameModeInit and add your code to it.
Reply
#10

public OnGameModeInit()
lsasjad = CreateObject(1684, 2509.211914, -1672.105591, 13.972688, 0.0, 0.0, 281.25); // object
lsmunasari = CreateObject(1632, 2504.10376, -1670.926636, 13.315081, 0.0, 0.0, 281.25); // object (2)
lskakka = CreateObject(3524, 2507.359863, -1667.303833, 13.298269, 0.0, 0.0, 269.99997); // object (3)
lsarrja = CreateObject(3524, 2505.716064, -1675.430054, 13.159315, 0.0, 0.0, 292.49997); // object (4)
housegate = CreateObject(971,1002.869567,-644.128601,123.575851,0.000000,0.000000,205.454116 ); // Natees house gate
lspdgate = CreateObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0); //LSPD 1
desk = CreateObject(2634,250.690734,63.395851,1003.640625 ,0.000000,0.000000,268.000000); // /olspddesk

those first 4 r mine codes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)