SA-MP Forums Archive
object help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: object help (/showthread.php?tid=106687)



object help - kennyist - 04.11.2009

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



Re: object help - miokie - 04.11.2009

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.


Re: object help - kennyist - 04.11.2009

nope still dont work.


Re: object help - [DDC]Delight - 05.11.2009

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);



Re: object help - yom - 05.11.2009

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

#else

#endif