[Pomoc] FS logo

Započeo ωт:яρ | αχєℓ иєℓѕσи, Jul 15, 2011, 22:04:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: Ma pravim svoju FS
Detaljan opis problema:Ma pravim textdraw da mi bude logo ionako se ucim oko FS-ova i nekontam ovaj error.
Dio skripte:
//******************************************:D**************
#define FILTERSCRIPT

#include <a_samp>

//newovi
new Text:Textdraw0;
new Text:Textdraw1;

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" WebTech logo by Axel");
print("--------------------------------------\n");
   TextDrawShowForPlayer(playerid, Textdraw0);
   TextDrawShowForPlayer(playerid, Textdraw1);
   Textdraw0 = TextDrawCreate(493.000000,8.000000,"RolePlaY");
   Textdraw1 = TextDrawCreate(550.000000,31.000000,"WT");
   TextDrawAlignment(Textdraw0,0);
   TextDrawAlignment(Textdraw1,0);
   TextDrawBackgroundColor(Textdraw0,0x000000ff);
   TextDrawBackgroundColor(Textdraw1,0xffffffff);
   TextDrawFont(Textdraw0,2);
   TextDrawLetterSize(Textdraw0,0.599999,1.800000);
   TextDrawFont(Textdraw1,2);
   TextDrawLetterSize(Textdraw1,1.099999,2.200000);
   TextDrawColor(Textdraw0,0xffffffff);
   TextDrawColor(Textdraw1,0x00ffff66);
   TextDrawSetOutline(Textdraw0,1);
   TextDrawSetProportional(Textdraw0,1);
   TextDrawSetShadow(Textdraw0,1);
   TextDrawSetShadow(Textdraw1,7);
//----------------------------------------

return 1;
}

public OnPlayerSpawn(playerid)         // Ove textdrawove /poruke prikazuje kad se igrac SPAWN-a
{
   TextDrawShowForPlayer(playerid, Textdraw0);
   TextDrawShowForPlayer(playerid, Textdraw1);
   return 1;
}


Errori:

C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(15) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(16) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

PS: Vjerovatno je jednostavno,ali eto kazem da se ucim :D
Poslednja Izmena: Jul 15, 2011, 22:05:25 POSLE PODNE od ωт:яρ | αχєℓ иєℓѕσи
//


Sada dobijam ove errore:
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(17) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(17) : warning 215: expression has no effect
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(17) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(17) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(17) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
//

nemozes u OnFilterSrciptInit koristit ovo
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);

nego u onPlayerSpanw ili OnPlayerConnect
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

//******************************************:D**************
#define FILTERSCRIPT

#include <a_samp>

//newovi
new Text:Textdraw0;
new Text:Textdraw1;

#define playerid

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" WebTech logo by Axel");
print("--------------------------------------\n");


    Textdraw0 = TextDrawCreate(493.000000,8.000000,"RolePlaY");
    Textdraw1 = TextDrawCreate(550.000000,31.000000,"WT");
    TextDrawAlignment(Textdraw0,0);
    TextDrawAlignment(Textdraw1,0);
    TextDrawBackgroundColor(Textdraw0,0x000000ff);
    TextDrawBackgroundColor(Textdraw1,0xffffffff);
    TextDrawFont(Textdraw0,2);
    TextDrawLetterSize(Textdraw0,0.599999,1.800000);
    TextDrawFont(Textdraw1,2);
    TextDrawLetterSize(Textdraw1,1.099999,2.200000);
    TextDrawColor(Textdraw0,0xffffffff);
    TextDrawColor(Textdraw1,0x00ffff66);
    TextDrawSetOutline(Textdraw0,1);
    TextDrawSetProportional(Textdraw0,1);
    TextDrawSetShadow(Textdraw0,1);
    TextDrawSetShadow(Textdraw1,7);
//----------------------------------------
   
return 1;
}

public OnPlayerSpawn(playerid)         // Ove textdrawove (poruke prikazuje kad se igrac SPAWN-a
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);

    return 1;
}

Evo kako je sad,opet ovi errori:
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(42) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(42) : warning 215: expression has no effect
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(42) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(42) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Muharem Tvrtkovic\Desktop\logo.pwn(42) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
//

rekao sam ti sta da napravis! nikakav define playerid omg, playerid mos definirati sa new ali uradi kako sa ti rekao
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Hvala,sada sve radi.
Savjet: Nemoj biti tako nadrkan steti ti zdravlju,jos jednom hvala kralju :)  :-*
//