help me plz @@
#1

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"

cn i know y
Код:
 
/*******************************************************************************
*                SERVER NAME: TAIK
*                SERVER VERSION: Mode v1.0
*                SERVER DEVELOPER: Ibtiqari
*
*   INFORMATION:
*
*******************************************************************************/
#include <a_samp>
new ActorCJ;
#if defined FILTERSCRIPT


public OnFilterScriptInit()
{
	print("JAJAJAJJAJAJAJAJJJAJAJAJAJJA");
	print(" JAJAJJAJAJAJJAJAJAJAJJAJAJAJA");
	print("JAJAJAJJAJAJAJAJAJAJJAJAJA");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
   ActorCJ = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
 //classes
 	SetGameModeText("JAJAJAJAJAJAJAAJAJAJAJAJAJAJAJAJA");
	AddPlayerClass(39, 2000.6174,1569.3989,15.3672,1.4313, 3, 3, 2, 2, 4, 1);
	return 1;

}
Reply
#2

why are you using both OnFilterScriptInit and OnGameModeInit?
Reply
#3

Quote:
Originally Posted by lucamsx
Посмотреть сообщение
why are you using both OnFilterScriptInit and OnGameModeInit?
wut u mean??
Reply
#4

do you want to write a filterscript, or a gamemode?
if it's going to be gamemode, get rid of the OnFilterScriptInit, OnFilterScriptExit and main.
if not, get rid of OnGameModeInit
Reply
#5

you just made the actor did not work with it .-.on using it will gone like the above >
PHP код:
/*******************************************************************************
*                SERVER NAME: TAIK
*                SERVER VERSION: Mode v1.0
*                SERVER DEVELOPER: Ibtiqari
*
*   INFORMATION:
*
*******************************************************************************/
#include <a_samp>
new ActorCJ;
public 
OnFilterScriptInit()
{
    print(
"JAJAJAJJAJAJAJAJJJAJAJAJAJJA");
    print(
" JAJAJJAJAJAJJAJAJAJAJJAJAJAJA");
    print(
"JAJAJAJJAJAJAJAJAJAJJAJAJA");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnGameModeInit()
{
    
ActorCJ CreateActor(00.00.03.00.0);
 
//classes
     
SetGameModeText("JAJAJAJAJAJAJAAJAJAJAJAJAJAJAJAJA");
    
AddPlayerClass(392000.6174,1569.3989,15.3672,1.4313332241);
    
SetTimer("Actorpos",2000,1);
    return 
1;
}
forward Actorpos();
public 
Actorpos() {
   
SetActorPos(ActorCJ1.02.03.0);
   return 
1;

Reply
#6

Quote:
Originally Posted by jlalt
Посмотреть сообщение
you just made the actor did not work with it .-.on using it will gone like the above >
PHP код:
/*******************************************************************************
*                SERVER NAME: TAIK
*                SERVER VERSION: Mode v1.0
*                SERVER DEVELOPER: Ibtiqari
*
*   INFORMATION:
*
*******************************************************************************/
#include <a_samp>
new ActorCJ;
public 
OnFilterScriptInit()
{
    print(
"JAJAJAJJAJAJAJAJJJAJAJAJAJJA");
    print(
" JAJAJJAJAJAJJAJAJAJAJJAJAJAJA");
    print(
"JAJAJAJJAJAJAJAJAJAJJAJAJA");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnGameModeInit()
{
    
ActorCJ CreateActor(00.00.03.00.0);
 
//classes
     
SetGameModeText("JAJAJAJAJAJAJAAJAJAJAJAJAJAJAJAJA");
    
AddPlayerClass(392000.6174,1569.3989,15.3672,1.4313332241);
    
SetTimer("Actorpos",2000,1);
    return 
1;
}
forward Actorpos();
public 
Actorpos() {
   
SetActorPos(ActorCJ1.02.03.0);
   return 
1;

so i mst put tis
Код:
SetTimer("Actorpos",2000,1);
	return 1;

}
forward Actorpos();
public Actorpos() {
   SetActorPos(ActorCJ, 1.0, 2.0, 3.0);
.....but can explain it??
Reply
#7

Quote:
Originally Posted by sayaunta
Посмотреть сообщение
so i mst put tis
Код:
SetTimer("Actorpos",2000,1);
	return 1;

}
forward Actorpos();
public Actorpos() {
   SetActorPos(ActorCJ, 1.0, 2.0, 3.0);
.....but can explain it??
you never did any thing with Actor you just connect he and let he alone give he job to do and he gonna shut up xD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)