about actor...2
#1

Code:
new ActorCJ;
 
public OnGameModeInit()
{
    // Create an actor (CJ) at Blueberry Acres (Center of SA map)
    ActorCJ = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
}
whre i should put *new ActorCJ*

someone say:you have to put it on top of script where you are define your server news.

but whre is it?
Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	return 1;
}
sry bcuz posting 2 time...i no get answer
Reply
#2

Under #include <a_samp> you have to put it!
Reply
#3

i should put only new ActorCJ;
or #new ActorCJ?
Reply
#4

i got warning
D:\GTA San Andreas\samp037_svr_R2-1-1_win32\gamemodes\try.pwn(42) : warning 217: loose indentation
D:\GTA San Andreas\samp037_svr_R2-1-1_win32\gamemodes\try.pwn(40) : warning 204: symbol is assigned a value that is never used: "ActorCJ"
Reply
#5

Code:
new ActorCJ;
new ActorBS;
 
public OnGameModeInit()
{
    // Create an actor (CJ) at Blueberry Acres (Center of SA map)
    ActorCJ = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
    // Create an actor (BS) at Blueberry Acres (Center of SA map)
    ActorBS = CreateActor(269, 10.0, 0.0, 3.0, 0.0);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)