[Ajuda] o q esta errado aqui
#1

o q tem de errado aqui os dois sгo fs mas diferente

pawn Код:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#endif

new Text:textdraw;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    return 1;
}

//=============================================================================;

public OnGameModeInit()
{
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    return 1;
}
//=============================================================================;
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
public OnPlayerDisconnect(playerid, reason)
{
    TextDrawHideForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
e aqui porque no jogo nгo aparece nada
pawn Код:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
const COR_3DLABEL = 0xFFCC00AA;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    return 1;
}


public OnGameModeInit()

{
    Create3DTextLabel("Digite: /tunar /reparar /neon", COR_3DLABEL,1620.4172,-1888.6212,13.5481,40.0,0);
    return 1;
}
#endif
Reply
#2

pawn Код:
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    return 1;
}

//=============================================================================;

public OnGameModeInit()
{
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    return 1;
}
Esse й o erro...
Reply
#3

onde nгo vi marque ele vocк pode arrumar para min por favor ?
Reply
#4

ERROR:
pawn Код:
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    return 1;
}

//=============================================================================;

public OnGameModeInit()
{
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    return 1;
}
Correto;
pawn Код:
#include <a_samp>

new Text:textdraw;
#define COR_3DLABEL 0xFFCC00AA;
//=============================================================================;

public OnGameModeInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    //-
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    //-
    Create3DTextLabel("Digite: /tunar /reparar /neon", COR_3DLABEL,1620.4172,-1888.6212,13.5481,40.0,0);
    return 1;
}
//=============================================================================;
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
public OnPlayerDisconnect(playerid, reason)
{
    TextDrawHideForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
Reply
#5

um e diferente do outro eu sу queria que me ajudassem e ainda deu 4 erros os dois sгo filter scripter diferentes criados por min mas dгo erro nгo e pra ajunta-los e sim me ajudar a como fazer da certo mais obrigado pelo mesmo jeito deu 4 erros ajuda ae
Reply
#6

Quote:
Originally Posted by [LF]PlaYer
Посмотреть сообщение
ERROR:
pawn Код:
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    return 1;
}

//=============================================================================;

public OnGameModeInit()
{
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    return 1;
}
Correto;
pawn Код:
#include <a_samp>

new Text:textdraw;
#define COR_3DLABEL 0xFFCC00AA;
//=============================================================================;

public OnGameModeInit()
{
    print("\n--------------------------------------");
    print(" Criado Por: Felipe ");
    print("--------------------------------------\n");
    //-
    textdraw = TextDrawCreate(4.000000,435.000000,"acessem nosso forum");
    TextDrawFont(textdraw,1);
    TextDrawColor(textdraw,0xFFFFFFAA);
    TextDrawLetterSize(textdraw,0.599999,1.000000);
    TextDrawSetOutline(textdraw,1);
    TextDrawSetShadow(textdraw,1);
    TextDrawSetProportional(textdraw,1);
    TextDrawBackgroundColor(textdraw,0x000000ff);
    //-
    Create3DTextLabel("Digite: /tunar /reparar /neon", COR_3DLABEL,1620.4172,-1888.6212,13.5481,40.0,0);
    return 1;
}
//=============================================================================;
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
public OnPlayerDisconnect(playerid, reason)
{
    TextDrawHideForPlayer(playerid, textdraw);
    return 1;
}
//=============================================================================;
Isso й um FS filho

Sugiro vocк colocar os cуdigos no seu gamemode.
Reply
#7

percebi ._.'
Reply
#8

pawn Код:
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : error 001: expected token: ",", but found ";"
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : error 029: invalid expression, assumed zero
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\familia mr\Desktop\Untitled.pwn(22) : fatal error 107: too many error messages on one line
da quatro erros assim e eu nгo quero por no gm ta filho
Reply
#9

Entгo se vira.. quis ajudar lol
Estuda mais um pouco a Pawn Library.. :*

@posso ajudar em mapas e sou intermediбrio em Scripts mas posso ajudar
..
Reply
#10

Em filterscripts trocamos o OnGamemodeInit por OnFilterscriptInit cabron

Quote:
Originally Posted by Ricop522
Посмотреть сообщение
@posso ajudar em mapas e sou intermediбrio em Scripts mas posso ajudar
..
RIALTO
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)