Jump to content
  • 0

Text Draw


zroT

Question

3 answers to this question

Recommended Posts

Uite asa

#define Text_Logo "textul tau"
forward logoanim();
forward logoanim2();
new Text:logo;
La onplayerconnect
logo = TextDrawCreate(500.0, 5.0,Text_Logo);
	TextDrawFont(logo, 0);
	TextDrawColor(logo,0xD2B586FF);
	TextDrawLetterSize(logo, 0.7, 1);
	TextDrawShowForPlayer(playerid, logo);
La public's
public logoanim()
{
    TextDrawDestroy(logo);
    SetTimer("logoanim2",5000,false);
}

public logoanim2()
{
	logo = TextDrawCreate(500.0, 5.0,Text_Logo);
	TextDrawFont(logo, 0);
	TextDrawColor(logo,0xD2B586FF);
	TextDrawLetterSize(logo, 0.7, 1);
	TextDrawShowForAll(logo);
    SetTimer("logoanim",5000,false);
}

Vezi daca merge

Samp.OnlyPro.ro - RolePlay - Join Us !

Link to comment
Share on other sites

C:\Documents and Settings\Admin.BLACK\Desktop\Reunion\gamemodes\Reunion.pwn(8504) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Admin.BLACK\Desktop\Reunion\gamemodes\Reunion.pwn(8504) : error 004: function "logoanim" is not implemented

C:\Documents and Settings\Admin.BLACK\Desktop\Reunion\gamemodes\Reunion.pwn(8510) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Admin.BLACK\Desktop\Reunion\gamemodes\Reunion.pwn(8510) : error 004: function "logoanim2" is not implemented

C:\Documents and Settings\Admin.BLACK\Desktop\Reunion\gamemodes\Reunion.pwn(13935) : warning 225: unreachable code

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

stats.php?page=2&ip=samp.zonek.ro&port=7777
Link to comment
Share on other sites

Poftim

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#define Text_Logo "textul tau"
forward logoanim();
forward logoanim2();
forward TextDraw(playerid);
new Text:logo;

public OnPlayerConnect()
{
    SetTimer("logoanim2",1,false);
	return 1;
}
public OnFilterScriptInit()
{
    SetTimer("TextDraw",1,false);
	return 1;
}
public TextDraw(playerid)
{
    logo = TextDrawCreate(500.0, 5.0,Text_Logo);
	TextDrawFont(logo, 0);
	TextDrawColor(logo,0xD2B586FF);
	TextDrawLetterSize(logo, 0.7, 1);
	TextDrawShowForPlayer(playerid, logo);
}
public logoanim()
{
    TextDrawDestroy(logo);
    SetTimer("logoanim2",5000,false);
}

public logoanim2()
{
	logo = TextDrawCreate(500.0, 5.0,Text_Logo);
	TextDrawFont(logo, 0);
	TextDrawColor(logo,0xD2B586FF);
	TextDrawLetterSize(logo, 0.7, 1);
	TextDrawShowForAll(logo);
    SetTimer("logoanim",5000,false);
}

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.