object help
#1

my objects dont show up in game , how can i get em too
Код:
#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" owner airport by your kennyist is loaded V1");
	print("--------------------------------------\n");
	return 1;
	
	CreateObject(9696, 2247.8537597656, -2807.4987792969, 44.858695983887, 0, 0, 0);
    CreateObject(8373, 2173.1342773438, -3553.9934082031, -18.75, 0, 0, 270.27026367188)


}

public OnFilterScriptExit()
{
	return 1;
}

#else


public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/ownerAr", cmdtext, true, 10) == 0)
	{
		return 1;
	}
	return 0;
}

#endif
Reply
#2

pawn Код:
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" owner airport by your kennyist is loaded V1");
    print("--------------------------------------\n");
   
   
    CreateObject(9696, 2247.8537597656, -2807.4987792969, 44.858695983887, 0, 0, 0);
    CreateObject(8373, 2173.1342773438, -3553.9934082031, -18.75, 0, 0, 270.27026367188)

return 1;
}
Put the return at the end of the public.
Reply
#3

nope still dont work.
Reply
#4

Perhaps try this

Код:
 CreateObject(9696, 2247.8537597656, -2807.4987792969, 44.858695983887, 0.0000, 0.0000, 0.0000);
 CreateObject(8373, 2173.1342773438, -3553.9934082031, -18.75, 0.0000, 0.0000, 270.27026367188);
Reply
#5

I wonder why you have those useless lines.
pawn Код:
#if defined FILTERSCRIPT

#else

#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)