Maybe you can help me?
#1

HI!

since a long time i have a sa:mp server. But i got one problem: I can't add objects. I have seen tutorials, i asked friends.. but it doesn't work.
If i have made a map in mta sa and converted to CreateObject and placed it in pawno under the OnGameModeInit line and saved it to .pwn and .amx, and have 0 errors, it still not works!! CAN ANYONE please help me?? What do i wrong??




PLEASE!!?PLEASE!!?PLEASE!!?PLEASE!!?PL EASE!!?
P.S. Sorry for my bad english!!
THNX!
Reply
#2

Show us your Filterscript. Then it will be easier to help you.
Reply
#3

Quote:
Originally Posted by eddy_и
Show us your Filterscript. Then it will be easier to help you.
okey, i post i later.....
Reply
#4

Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}
here do the following...first add your objects
Код:
CreateObject(X,Y,Z,rX,rY,rZ)
then go

Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateObject(etc) // Here...dont place it above the return 1; or it causes "see down"
	return 1;
}
Код:
function "OnGameModeInit" should return a value
number of arguments does not match definition
tag mismatch
unreachable code
'

You used any interiors?Try to use
Код:
Onplayercommandtext etc.../place1 and get a possition of one of your objects and set from interior 1-12 and check again if you see it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)