Mapping problem
#1

Okay so i've made one map (table with a bounch of guns Ak47,Tec,Uz,Silenced/Normal Pistol,some boxes and grenades.I saved,converted map on www.convertffs.com putted it in the script under
Код:
public OnGameModeInit()
clicked Compile/run no errors everything was good,but when i entered in my server to see how they look there was noting on the spot where table was (in MTA).I can post screenshots if that something means to you.



Thanks 4 any help!


EDIT: Sorry if this is wrong section i don't know maybe the problem is in the script.
Reply
#2

If you placed the table outside (not inside houses or buildings), then check your interior ID and virtual world. It should be 0 for that matter.
Reply
#3

It's not that,i placed it in some house which is there in SA.It's not custom interior.
Reply
#4

I can bet this is your problem...
Quote:

Parameters:
(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float: DrawDistance)
modelid The model you want to use.
Float:X The X coordinate to create the object at.
Float:Y The Y coordinate to create the object at.
Float:Z The Z coordinate to create the object at.
Float:rX The X rotation of the object.
Float:rY The Y rotation of the object.
Float:rZ The Z rotation of the object.
Float: DrawDistance (optional) The distance that San Andreas renders objects. 0.0 will cause objects to render at their default distances. 300.0 is the usable maximum. Usable since 0.3b.
Returns The ID of the object that was created.

The Float: DrawDistance should be your problem.
I suggest you set it to 300.0, as it's the maximum.
Although it will lag your server, maybe use 150.0

If you want more info, check the example in the wiki:

pawn Код:
public OnGameModeInit()
{
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0); //Object will render at its default distance.
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 250.0); //Object will render at 250.0 units.
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 50000.0); //Object will render at 300.0 units. (The usable maximum)
    return 1;
}
Reply
#5

I used 150.0 and noting again,objects are invisible (they are not there ) w/e. :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)