CreateObject - HELP
#2

Make sure it's under the OnGameModeInIt Callback.

Example:

pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    CreateObject(717,-1980.30004883,204.80000305,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (1)
    CreateObject(717,-1980.19995117,202.80000305,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (2)
    CreateObject(717,-1980.30004883,200.80000305,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (3)
    CreateObject(717,-1980.40002441,198.80000305,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (4)
    CreateObject(717,-1980.30004883,196.69999695,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (5)
    CreateObject(717,-1980.19995117,194.10000610,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (6)
    CreateObject(717,-1979.90002441,171.10000610,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (7)
    CreateObject(717,-1979.90002441,173.30000305,26.70000076,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltreepv) (8)
    return 1;
}
It might also not show because the maximum objects you can have is 2000. But with Icognito's Streamer I believe you can have unlimited. Here it is:

https://sampforum.blast.hk/showthread.php?tid=102865
Reply


Messages In This Thread
CreateObject - HELP - by Kudoz - 12.03.2012, 01:23
Re: CreateObject - HELP - by JJB562 - 12.03.2012, 03:49
Re: CreateObject - HELP - by eesh - 12.03.2012, 04:33

Forum Jump:


Users browsing this thread: 1 Guest(s)