Help me please
#1

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

use CreateObject
https://sampwiki.blast.hk/wiki/CreateObject
Reply
#3

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); //
Reply
#4

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
Reply
#5

look i made objects i want them in a gamemode
Reply
#6

Put them under OnGameModeInit
Reply
#7

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)