SA-MP Forums Archive
Help me please - 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: Help me please (/showthread.php?tid=94366)



Help me please - killer98p - 29.08.2009

help me please i creat objects and idk how to see them in a gamemode


Re: Help me please - James_Alex - 29.08.2009

use CreateObject
https://sampwiki.blast.hk/wiki/CreateObject


Re: Help me please - killer98p - 29.08.2009

CreateObject(0, 2953.75, -768.69, 0.98, 0.0, 0.0, 270.00); //
CreateObject(0, 2953.72, -776.66, 0.-2, 0.0, 0.0, 270.00); //
CreateObject(0, 2916.31, -800.16, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2908.36, -800.18, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2915.33, -773.07, 11.55, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.64, -773.09, 11.52, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.76, -777.78, 15.14, 0.0, 180.27, 180.00); //
CreateObject(0, 2908.57, -768.82, 20.11, 0.0, 180.27, 180.00); //
CreateObject(0, 2904.76, -788.35, 10.03, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.79, -776.40, 10.04, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.78, -764.44, 10.06, 0.0, 0.0, 270.00); //



Re: Help me please - James_Alex - 29.08.2009

Quote:
Originally Posted by killer98p
CreateObject(0, 2953.75, -768.69, 0.98, 0.0, 0.0, 270.00); //
CreateObject(0, 2953.72, -776.66, 0.-2, 0.0, 0.0, 270.00); //
CreateObject(0, 2916.31, -800.16, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2908.36, -800.18, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2915.33, -773.07, 11.55, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.64, -773.09, 11.52, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.76, -777.78, 15.14, 0.0, 180.27, 180.00); //
CreateObject(0, 2908.57, -768.82, 20.11, 0.0, 180.27, 180.00); //
CreateObject(0, 2904.76, -788.35, 10.03, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.79, -776.40, 10.04, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.78, -764.44, 10.06, 0.0, 0.0, 270.00); //
yes


Re: Help me please - killer98p - 29.08.2009

look i made objects i want them in a gamemode


Re: Help me please - ded - 29.08.2009

Put them under OnGameModeInit


Re: Help me please - James_Alex - 29.08.2009

tye
pawn Код:
public OnGameModeInit()
{
CreateObject(0, 2953.75, -768.69, 0.98, 0.0, 0.0, 270.00); //
CreateObject(0, 2953.72, -776.66, 0.-2, 0.0, 0.0, 270.00); //
CreateObject(0, 2916.31, -800.16, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2908.36, -800.18, 11.66, 0.0, 0.0, 180.00); //
CreateObject(0, 2915.33, -773.07, 11.55, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.64, -773.09, 11.52, 0.0, 0.0, 270.00); //
CreateObject(0, 2908.76, -777.78, 15.14, 0.0, 180.27, 180.00); //
CreateObject(0, 2908.57, -768.82, 20.11, 0.0, 180.27, 180.00); //
CreateObject(0, 2904.76, -788.35, 10.03, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.79, -776.40, 10.04, 0.0, 0.0, 270.00); //
CreateObject(0, 2904.78, -764.44, 10.06, 0.0, 0.0, 270.00); //
return 1;
}