texdraw

Započeo [CH]°°LøpεȤ°°[4EVER], April 09, 2010, 10:58:11 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

evo znam da na BSampu ima za texdraw ranodms ja sve popravim i to ali me uvjel 1 error zajebava eo ovaj
C:\Documents and Settings\Ivica\Desktop\Ivica\samp\filterscripts\texdraw.pwn(82) : error 030: compound statement not closed at the end of file (started at line 78)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

a sto je najveca fora taj red nepostio kak to rijesit

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....

ajde kopiraj tu liniju 78 :)

  SetTimerEx("text3", 30000, false, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....

nastoe

Citat: ivicaosk poslato April 09, 2010, 11:10:09 PRE PODNE
  SetTimerEx("text3", 30000, false, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
Stavi SetTimer("text3", 30000, true);// tekst ce se promijeniti svakih 30 sekundi

opet isto

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....

iYoko

Probaj zatvoriti sve zagrade, i jer imas sve include? Jer imas ovo na pocetku skripte?

#include <core>
#include <a_samp>

nastoe

Citat: [EFS]iYoko.pdn poslato April 09, 2010, 11:39:17 PRE PODNE
Probaj zatvoriti sve zagrade, i jer imas sve include? Jer imas ovo na pocetku skripte?

#include <core>
#include <a_samp>

Nema to nikakve veze i nije uopce problem u line sa timerom nego negdje drugdje a error samo pokazuje na toj liniji, daj nam cijeli kod od tim TextDrawowa

mozda nije stavio forward(foward)kako vec ide :D

nastoe

Citat: GeForce Mallcolm poslato April 09, 2010, 11:47:34 PRE PODNE
mozda nije stavio forward(foward)kako vec ide :D
Onda bi bio drugi error a ne vjerujem da je koristio zvanja nego samo timer tako da mu forward nije potreban

#define FILTERSCRIPT

#include <a_samp>

forward text1(playerid);
forward text2(playerid);
forward text3(playerid);
forward text4(playerid);

new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");


Textdraw1 = TextDrawCreate(1.000000,433.000000, "Los Santos RPG");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,1);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,0);
TextDrawSetProportional(Textdraw1,1);
Textdraw2 = TextDrawCreate(1.000000,433.000000, "Za sve potrebne komande napisite /HELP");
TextDrawAlignment(Textdraw2,0);
TextDrawBackgroundColor(Textdraw2,0x000000ff);
TextDrawFont(Textdraw2,1);
TextDrawLetterSize(Textdraw2,0.499999,1.100000);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawSetOutline(Textdraw2,0);
TextDrawSetProportional(Textdraw2,1);
Textdraw3 = TextDrawCreate(1.000000,433.000000, "Ako trebate pomoc obratite se adminima na /report");
TextDrawAlignment(Textdraw3,0);
TextDrawBackgroundColor(Textdraw3,0x000000ff);
TextDrawFont(Textdraw3,1);
TextDrawLetterSize(Textdraw3,0.499999,1.100000);
TextDrawColor(Textdraw3,0xffffffff);
TextDrawSetOutline(Textdraw3,0);
TextDrawSetProportional(Textdraw3,1);
Textdraw4 = TextDrawCreate(1.000000,433.000000, "Ako se ne snalazite po gradu napisite /gps za sve vazne lokacije");
TextDrawAlignment(Textdraw4,0);
TextDrawBackgroundColor(Textdraw4,0x000000ff);
TextDrawFont(Textdraw4,1);
TextDrawLetterSize(Textdraw4,0.499999,1.100000);
TextDrawColor(Textdraw4,0xffffffff);
TextDrawSetOutline(Textdraw4,0);
TextDrawSetProportional(Textdraw4,1);
return 1;
}

#endif

public OnPlayerSpawn(playerid)
{
    SetTimerEx("text1", 30000, true, "d",playerid);
    TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}

public text1(playerid)
{
    SetTimerEx("text2", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    return 1;
}
public text2(playerid)
{
    SetTimerEx("text3", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    return 1;



i da vas pitam kak da napravim da se rekort moze slat sam 1 u min?

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....

jel si zatvorio zagradu tu na kraju skroz?
Vikend je policija nas hvata,
vikend je ode cijela plata,
oko nas stvari ukradene,
sve smo dali na planove i sheme..
||||:=:=:=:=:=:=::=:=:=:=:=:=:=:THE IVEX:=:=:=:=:=:=:=:=:=::=:=:=:=:=:=::=:|||| 


PS: Ne saljite mi nikakve pm jer neodgovaram na njih! Ako trebate nes pitajte ove pr0 skriptere pa neka vam kazu!Hvala !

#define FILTERSCRIPT

#include <a_samp>

forward text1(playerid);
forward text2(playerid);
forward text3(playerid);
forward text4(playerid);

new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");


Textdraw1 = TextDrawCreate(1.000000,433.000000, "Los Santos RPG");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,1);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,0);
TextDrawSetProportional(Textdraw1,1);
Textdraw2 = TextDrawCreate(1.000000,433.000000, "Za sve potrebne komande napisite /HELP");
TextDrawAlignment(Textdraw2,0);
TextDrawBackgroundColor(Textdraw2,0x000000ff);
TextDrawFont(Textdraw2,1);
TextDrawLetterSize(Textdraw2,0.499999,1.100000);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawSetOutline(Textdraw2,0);
TextDrawSetProportional(Textdraw2,1);
Textdraw3 = TextDrawCreate(1.000000,433.000000, "Ako trebate pomoc obratite se adminima na /report");
TextDrawAlignment(Textdraw3,0);
TextDrawBackgroundColor(Textdraw3,0x000000ff);
TextDrawFont(Textdraw3,1);
TextDrawLetterSize(Textdraw3,0.499999,1.100000);
TextDrawColor(Textdraw3,0xffffffff);
TextDrawSetOutline(Textdraw3,0);
TextDrawSetProportional(Textdraw3,1);
Textdraw4 = TextDrawCreate(1.000000,433.000000, "Ako se ne snalazite po gradu napisite /gps za sve vazne lokacije");
TextDrawAlignment(Textdraw4,0);
TextDrawBackgroundColor(Textdraw4,0x000000ff);
TextDrawFont(Textdraw4,1);
TextDrawLetterSize(Textdraw4,0.499999,1.100000);
TextDrawColor(Textdraw4,0xffffffff);
TextDrawSetOutline(Textdraw4,0);
TextDrawSetProportional(Textdraw4,1);
return 1;
}

#endif

public OnPlayerSpawn(playerid)
{
    SetTimerEx("text1", 30000, true, "d",playerid);
    TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}

public text1(playerid)
{
    SetTimerEx("text2", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    return 1;
}
public text2(playerid)
{
    SetTimerEx("text3", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    return 1;
}
Mape:

))-((

Filescripte:

Dexy's Speedo/Fuel

Gamemodes:

))-((




SampArena FOREVER <3


nastoe

Citat: [SampArena]Deo poslato April 09, 2010, 14:46:45 POSLE PODNE
#define FILTERSCRIPT

#include <a_samp>

forward text1(playerid);
forward text2(playerid);
forward text3(playerid);
forward text4(playerid);

new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");


Textdraw1 = TextDrawCreate(1.000000,433.000000, "Los Santos RPG");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,1);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,0);
TextDrawSetProportional(Textdraw1,1);
Textdraw2 = TextDrawCreate(1.000000,433.000000, "Za sve potrebne komande napisite /HELP");
TextDrawAlignment(Textdraw2,0);
TextDrawBackgroundColor(Textdraw2,0x000000ff);
TextDrawFont(Textdraw2,1);
TextDrawLetterSize(Textdraw2,0.499999,1.100000);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawSetOutline(Textdraw2,0);
TextDrawSetProportional(Textdraw2,1);
Textdraw3 = TextDrawCreate(1.000000,433.000000, "Ako trebate pomoc obratite se adminima na /report");
TextDrawAlignment(Textdraw3,0);
TextDrawBackgroundColor(Textdraw3,0x000000ff);
TextDrawFont(Textdraw3,1);
TextDrawLetterSize(Textdraw3,0.499999,1.100000);
TextDrawColor(Textdraw3,0xffffffff);
TextDrawSetOutline(Textdraw3,0);
TextDrawSetProportional(Textdraw3,1);
Textdraw4 = TextDrawCreate(1.000000,433.000000, "Ako se ne snalazite po gradu napisite /gps za sve vazne lokacije");
TextDrawAlignment(Textdraw4,0);
TextDrawBackgroundColor(Textdraw4,0x000000ff);
TextDrawFont(Textdraw4,1);
TextDrawLetterSize(Textdraw4,0.499999,1.100000);
TextDrawColor(Textdraw4,0xffffffff);
TextDrawSetOutline(Textdraw4,0);
TextDrawSetProportional(Textdraw4,1);
return 1;
}

#endif

public OnPlayerSpawn(playerid)
{
    SetTimerEx("text1", 30000, true, "d",playerid);
    TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}

public text1(playerid)
{
    SetTimerEx("text2", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    return 1;
}
public text2(playerid)
{
    SetTimerEx("text3", 30000, true, "d",playerid);// tekst ce se promijeniti svakih 30 sekundi
    TextDrawHideForPlayer(playerid,Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    return 1;
}

SetTimerEx("text1", 30000, true, "d",playerid); Nema potrebe koristiti SetTimerEx samo ce biti zbugano za global koristi SetTimer("text1",30000,1); // 1 znaci true

hvala deo moze lock

hahahha warning = demir
CitatLose,Lose,Lose,Lose Prelose 0/10 nema nista tu to je 1 sek rada..... za nas profesionalce i dobre scritpere ....

ja sam najaci scripter na balkan a mozda i u svijet to je za mene stotinka....