Textdraw Intro
#1

The The Top Of Script
------------------------------

new Text:Intro[15];
new Text:Version[1];


Under PublicOnGamMdInt
--------------------------------------

public OnGameModeInit()


{
//intro textdraw
{

Intro[0] = TextDrawCreate(85.999763, 121.306808, "the text goes in here. ** to keep my server uncopyable.");
TextDrawLetterSize(Intro[0], 2.703198, 31.384540);
TextDrawTextSize(Intro[0], 562.000000, 10.199999);
TextDrawAlignment(Intro[0], 1);
TextDrawColor(Intro[0], 0x00000030);
TextDrawUseBox(Intro[0], 1);
TextDrawBoxColor(Intro[0], 0x00000030);
TextDrawSetShadow(Intro[0], 0);
TextDrawSetOutline(Intro[0], 0);
TextDrawBackgroundColor(Intro[0], 0x00000030);
TextDrawFont(Intro[0], 2);
TextDrawSetProportional(Intro[0], 0);
TextDrawSetShadow(Intro[0], 0);
TextDrawSetSelectable(Intro[0], true);

Intro[1] = TextDrawCreate(2**.0*0106, 1*1.30*610, "****");
TextDrawLetterSize(Intro[1], 1.07*401, 4.*45065);
TextDrawAlignment(Intro[1], 1);
TextDrawColor(Intro[1], 15434****1);
TextDrawSetShadow(Intro[1], 0);
TextDrawSetOutline(Intro[1], 0);
TextDrawBackgroundColor(Intro[1], 2*5);
TextDrawFont(Intro[1], 2);
TextDrawSetProportional(Intro[1], 1);
TextDrawSetShadow(Intro[1], 0);

Intro[2] = TextDrawCreate(2*6.*00003, 1*5.6*3274, "- ***");
TextDrawLetterSize(Intro[2], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[2], 1);
TextDrawColor(Intro[2], 1671****);
TextDrawSetShadow(Intro[2], 0);
TextDrawSetOutline(Intro[2], 0);
TextDrawBackgroundColor(Intro[2], 2*5);
TextDrawFont(Intro[2], 1);
TextDrawSetProportional(Intro[2], 1);
TextDrawSetShadow(Intro[2], 0);

Intro[3] = TextDrawCreate(23*.*00018, *66.**3317, "****");
TextDrawLetterSize(Intro[3], 0.*93599, *.518*01);
TextDrawAlignment(Intro[3], 1);
TextDrawColor(Intro[3], 6**35);
TextDrawSetShadow(Intro[3], 0);
TextDrawSetOutline(Intro[3], 0);
TextDrawBackgroundColor(Intro[3], 2*5);
TextDrawFont(Intro[3], 3);
TextDrawSetProportional(Intro[3], 1);
TextDrawSetShadow(Intro[3], 0);

Intro[4] = TextDrawCreate(2*7.20**64, 1*4.6*250, "***");
TextDrawLetterSize(Intro[4], *.7*4800, 2.*14131);
TextDrawAlignment(Intro[4], 1);
TextDrawColor(Intro[4], -5963***);
TextDrawSetShadow(Intro[4], 0);
TextDrawSetOutline(Intro[4], 0);
TextDrawBackgroundColor(Intro[4], 2*5);
TextDrawFont(Intro[4], 2);
TextDrawSetProportional(Intro[4], 1);
TextDrawSetShadow(Intro[4], 0);

Intro[5] = TextDrawCreate(3*.200073, *67.600051, "*****");
TextDrawLetterSize(Intro[5], 0.*36800, *.406399);
TextDrawAlignment(Intro[5], 1);
TextDrawColor(Intro[5], -469756***);
TextDrawSetShadow(Intro[5], 0);
TextDrawSetOutline(Intro[5], 0);
TextDrawBackgroundColor(Intro[5], 2*5);
TextDrawFont(Intro[5], 3);
TextDrawSetProportional(Intro[5], 1);
TextDrawSetShadow(Intro[5], 0);

Intro[6] = TextDrawCreate(*06.7***57, 3**.*00024, "www.****.com");
TextDrawLetterSize(Intro[6], 0.*02400, *.040*33);
TextDrawAlignment(Intro[6], 1);
TextDrawColor(Intro[6], 167****5);
TextDrawSetShadow(Intro[6], 3);
TextDrawSetOutline(Intro[6], 1);
TextDrawBackgroundColor(Intro[6], 41***);
TextDrawFont(Intro[6], 2);
TextDrawSetProportional(Intro[6], 1);
TextDrawSetShadow(Intro[6], 3);

Intro[7] = TextDrawCreate(**6.800003, 1*7.7**948, "****");
TextDrawLetterSize(Intro[7], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[7], 1);
TextDrawColor(Intro[7], -139***1217);
TextDrawSetShadow(Intro[7], 0);
TextDrawSetOutline(Intro[7], 0);
TextDrawBackgroundColor(Intro[7], 2*5);
TextDrawFont(Intro[7], 1);
TextDrawSetProportional(Intro[7], 1);
TextDrawSetShadow(Intro[7], 0);

Intro[8] = TextDrawCreate(2**.200057, *15.**6642, "- ****");
TextDrawLetterSize(Intro[8], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[8], 1);
TextDrawColor(Intro[8], -137*2**08;
TextDrawSetShadow(Intro[8], 0);
TextDrawSetOutline(Intro[8], 0);
TextDrawBackgroundColor(Intro[8], 2*5);
TextDrawFont(Intro[8], 1);
TextDrawSetProportional(Intro[8], 1);
TextDrawSetShadow(Intro[8], 0);

Intro[9] = TextDrawCreate(1*7.099884, 237.07**25, "- ****");
TextDrawLetterSize(Intro[9], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[9], 1);
TextDrawColor(Intro[9], -1****4017);
TextDrawSetShadow(Intro[9], 0);
TextDrawSetOutline(Intro[9], 0);
TextDrawBackgroundColor(Intro[9], 2*5);
TextDrawFont(Intro[9], 1);
TextDrawSetProportional(Intro[9], 1);
TextDrawSetShadow(Intro[9], 0);

Intro[10] = TextDrawCreate(20*.699737, 2**.900115, "- ****");
TextDrawLetterSize(Intro[10], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[10], 1);
TextDrawColor(Intro[10], -13***94017);
TextDrawSetShadow(Intro[10], 0);
TextDrawSetOutline(Intro[10], 0);
TextDrawBackgroundColor(Intro[10], 2*5);
TextDrawFont(Intro[10], 1);
TextDrawSetProportional(Intro[10], 1);
TextDrawSetShadow(Intro[10], 0);

Intro[11] = TextDrawCreate(207.099960, 280.346801, "- *******");
TextDrawLetterSize(Intro[11], 0.40**00, 1.*00000);
TextDrawAlignment(Intro[11], 1);
TextDrawColor(Intro[11], -137829***7);
TextDrawSetShadow(Intro[11], 0);
TextDrawSetOutline(Intro[11], 0);
TextDrawBackgroundColor(Intro[11], 2*5);
TextDrawFont(Intro[11], 1);
TextDrawSetProportional(Intro[11], 1);
TextDrawSetShadow(Intro[11], 0);

Intro[12] = TextDrawCreate(1*5.8***18, *03.593414, "- ******");
TextDrawLetterSize(Intro[12], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[12], 1);
TextDrawColor(Intro[12], -13***94017);
TextDrawSetShadow(Intro[12], 0);
TextDrawSetOutline(Intro[12], 0);
TextDrawBackgroundColor(Intro[12], 2*5);
TextDrawFont(Intro[12], 1);
TextDrawSetProportional(Intro[12], 1);
TextDrawSetShadow(Intro[12], 0);

Intro[13] = TextDrawCreate(169.199951, 325.893249, "- ***");
TextDrawLetterSize(Intro[13], 0.*00000, 1.6**000);
TextDrawAlignment(Intro[13], 1);
TextDrawColor(Intro[13], 15434****1);
TextDrawSetShadow(Intro[13], 0);
TextDrawSetOutline(Intro[13], 0);
TextDrawBackgroundColor(Intro[13], 2*5);
TextDrawFont(Intro[13], 1);
TextDrawSetProportional(Intro[13], 1);
TextDrawSetShadow(Intro[13], 0);

Intro[14] = TextDrawCreate(117.1***81, 3**.480041, "******");
TextDrawLetterSize(Intro[14], 0.*00000, 1.*00000);
TextDrawAlignment(Intro[14], 1);
TextDrawColor(Intro[14], -65281);
TextDrawSetShadow(Intro[14], 0);
TextDrawSetOutline(Intro[14], 0);
TextDrawBackgroundColor(Intro[14], 255);
TextDrawFont(Intro[14], 1);
TextDrawSetProportional(Intro[14], 1);
TextDrawSetShadow(Intro[14], 0);


//end of intro textdraw
//Version Textdraw
Version[0] = TextDrawCreate(586.666442, 0.222185, "Ver. [****]");
TextDrawLetterSize(Version[0], 0.25****, 1.190***);
TextDrawAlignment(Version[0], 1);
TextDrawColor(Version[0], 3*75**5);
TextDrawSetShadow(Version[0], 0);
TextDrawSetOutline(Version[0], 0);
TextDrawBackgroundColor(Version[0], 2*5);
TextDrawFont(Version[0], *);
TextDrawSetProportional(Version[0], 1);
TextDrawSetShadow(Version[0], 0);
TextDrawSetSelectable(Version[0], true);
//End Of Version Textdraw



the rest of the code
------------------------------

public OnPlayerConnect(playerid)

{

TextDrawShowForPlayer(playerid,Intro[0]);
TextDrawShowForPlayer(playerid,Intro[1]);
TextDrawShowForPlayer(playerid,Intro[2]);
TextDrawShowForPlayer(playerid,Intro[3]);
TextDrawShowForPlayer(playerid,Intro[4]);
TextDrawShowForPlayer(playerid,Intro[5]);
TextDrawShowForPlayer(playerid,Intro[6]);
TextDrawShowForPlayer(playerid,Intro[7]);
TextDrawShowForPlayer(playerid,Intro[8]);
TextDrawShowForPlayer(playerid,Intro[9]);
TextDrawShowForPlayer(playerid,Intro[10]);
TextDrawShowForPlayer(playerid,Intro[11]);
TextDrawShowForPlayer(playerid,Intro[12]);
TextDrawShowForPlayer(playerid,Intro[13]);
TextDrawShowForPlayer(playerid,Intro[14]);
TextDrawShowForPlayer(playerid,Version[0]);

}


public OnPlayerDisconnect(playerid, reason)
{
ClearAnimations(playerid); //to stop the animation
return 1;
}

public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid,Intro[0]);
TextDrawHideForPlayer(playerid,Intro[1]);
TextDrawHideForPlayer(playerid,Intro[2]);
TextDrawHideForPlayer(playerid,Intro[3]);
TextDrawHideForPlayer(playerid,Intro[4]);
TextDrawHideForPlayer(playerid,Intro[5]);
TextDrawHideForPlayer(playerid,Intro[6]);
TextDrawHideForPlayer(playerid,Intro[7]);
TextDrawHideForPlayer(playerid,Intro[8]);
TextDrawHideForPlayer(playerid,Intro[9]);
TextDrawHideForPlayer(playerid,Intro[10]);
TextDrawHideForPlayer(playerid,Intro[11]);
TextDrawHideForPlayer(playerid,Intro[12]);
TextDrawHideForPlayer(playerid,Intro[13]);
TextDrawHideForPlayer(playerid,Intro[14]);
return 1;
}


When i start the server it all works. But the textdraw will not disapear untill player spawns. how do i code this so it disapears in 10 seconds then you are brought to class selection? like crazybobs server intro for example? Thanks in advance.
Reply
#2

Use SetTimerEx
https://sampwiki.blast.hk/wiki/SetTimerEx
Reply
#3

i have been trying to type it out proper but i just cant figure it out. i have been looking for how to script this for two days now.
Reply
#4

Firstly, put your code into balise like :[.php] CODE [/php]
Like WhiteGhost said, you need to use SetTimerEx. Create a function, pur your code into it.
PHP код:
SetTimerEx("example"10000false"i"playerid);
forward example(playerid);
public 
example(playerid)
{
    
TextDrawHideForPlayer(playerid,Intro[0]);
    
TextDrawHideForPlayer(playerid,Intro[1]);
    
TextDrawHideForPlayer(playerid,Intro[2]);
    
TextDrawHideForPlayer(playerid,Intro[3]);
    
TextDrawHideForPlayer(playerid,Intro[4]);
    
TextDrawHideForPlayer(playerid,Intro[5]);
    
TextDrawHideForPlayer(playerid,Intro[6]);
    
TextDrawHideForPlayer(playerid,Intro[7]);
    
TextDrawHideForPlayer(playerid,Intro[8]);
    
TextDrawHideForPlayer(playerid,Intro[9]);
    
TextDrawHideForPlayer(playerid,Intro[10]);
    
TextDrawHideForPlayer(playerid,Intro[11]);
    
TextDrawHideForPlayer(playerid,Intro[12]);
    
TextDrawHideForPlayer(playerid,Intro[13]);
    
TextDrawHideForPlayer(playerid,Intro[14]);
    return 
1;

Reply
#5

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Firstly, put your code into balise like :[.php] CODE [/php]
Like WhiteGhost said, you need to use SetTimerEx. Create a function, pur your code into it.
PHP код:
SetTimerEx("example"10000false"i"playerid);
forward example(playerid);
public 
example(playerid)
{
    
TextDrawHideForPlayer(playerid,Intro[0]);
    
TextDrawHideForPlayer(playerid,Intro[1]);
    
TextDrawHideForPlayer(playerid,Intro[2]);
    
TextDrawHideForPlayer(playerid,Intro[3]);
    
TextDrawHideForPlayer(playerid,Intro[4]);
    
TextDrawHideForPlayer(playerid,Intro[5]);
    
TextDrawHideForPlayer(playerid,Intro[6]);
    
TextDrawHideForPlayer(playerid,Intro[7]);
    
TextDrawHideForPlayer(playerid,Intro[8]);
    
TextDrawHideForPlayer(playerid,Intro[9]);
    
TextDrawHideForPlayer(playerid,Intro[10]);
    
TextDrawHideForPlayer(playerid,Intro[11]);
    
TextDrawHideForPlayer(playerid,Intro[12]);
    
TextDrawHideForPlayer(playerid,Intro[13]);
    
TextDrawHideForPlayer(playerid,Intro[14]);
    return 
1;

PHP код:
forward example(playerid);
public 
example(playerid)
{
    for(new 
014i++)
        
TextDrawHideForPlayer(playerid,Intro[i]);
    return 
1;

Reply
#6

Quote:
Originally Posted by iShawn
Посмотреть сообщение
PHP код:
forward example(playerid);
public 
example(playerid)
{
    for(new 
0; < 14i++)
        
TextDrawHideForPlayer(playerid,Intro[i]);
    return 
1;

You dont need to create a forloop to do this.
Reply
#7

Im so sorry! I knew i was going something wrong! Thank you so much for your help! Fu*king awesome. let you know how it goes
Reply
#8

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
You dont need to create a forloop to do this.
It is more fast.
Reply
#9

Quote:
Originally Posted by iShawn
Посмотреть сообщение
It is more fast.
Well,Am not saying your wrong.Every Person has there own different way in which they code.
Reply
#10

SetTimerEx("TextDrawHideForPlayer", 5000, false, "i", playerid);
forward TextDrawHideForPlayer(playerid);
public TextDrawHideForPlayer(playerid)
{
TextDrawHideForPlayer(playerid,Intro[0]);
TextDrawHideForPlayer(playerid,Intro[1]);
TextDrawHideForPlayer(playerid,Intro[2]);
TextDrawHideForPlayer(playerid,Intro[3]);
TextDrawHideForPlayer(playerid,Intro[4]);
TextDrawHideForPlayer(playerid,Intro[5]);
TextDrawHideForPlayer(playerid,Intro[6]);
TextDrawHideForPlayer(playerid,Intro[7]);
TextDrawHideForPlayer(playerid,Intro[8]);
TextDrawHideForPlayer(playerid,Intro[9]);
TextDrawHideForPlayer(playerid,Intro[10]);
TextDrawHideForPlayer(playerid,Intro[11]);
TextDrawHideForPlayer(playerid,Intro[12]);
TextDrawHideForPlayer(playerid,Intro[13]);
TextDrawHideForPlayer(playerid,Intro[14]);
return 1;
}


i get these errors

(239) : error 017: undefined symbol "playerid"
(240) : error 029: invalid expression, assumed zero
(240) : error 017: undefined symbol "playerid"
(241) : error 029: invalid expression, assumed zero
(241) : error 017: undefined symbol "playerid"
(243) : error 017: undefined symbol "playerid"
(244) : error 017: undefined symbol "playerid"
(245) : error 017: undefined symbol "playerid"
: error 017: undefined symbol "playerid"
: error 017: undefined symbol "playerid"
(24 : error 017: undefined symbol "playerid"
(249) : error 017: undefined symbol "playerid"
(250) : error 017: undefined symbol "playerid"
(251) : error 017: undefined symbol "playerid"
(252) : error 017: undefined symbol "playerid"
(253) : error 017: undefined symbol "playerid"
: error 017: undefined symbol "playerid"
(255) : error 017: undefined symbol "playerid"
(256) : error 017: undefined symbol "playerid"
(257) : error 017: undefined symbol "playerid"


im to supid to figure out how to write this neat.
Reply
#11

still wont work! thanks for the help so far guys
Reply
#12

Post the errors or tell us what happens when you log in game.
Reply
#13

(270) : error 029: invalid expression, assumed zero
(270) : warning 202: number of arguments does not match definition
(271) : error 029: invalid expression, assumed zero
(271) : warning 202: number of arguments does not match definition
(273) : error 001: expected token: ";", but found "-identifier-"
Reply
#14

this is under on player connect

SetTimerEx("TextDrawHideForPlayer", 50000, false, "i", playerid);
forward TextDrawHideForPlayer(playerid);
public TextDrawHideForPlayer(playerid)

TextDrawHideForPlayer(playerid,Intro[0]);
TextDrawHideForPlayer(playerid,Intro[1]);
TextDrawHideForPlayer(playerid,Intro[2]);
TextDrawHideForPlayer(playerid,Intro[3]);
TextDrawHideForPlayer(playerid,Intro[4]);
TextDrawHideForPlayer(playerid,Intro[5]);
TextDrawHideForPlayer(playerid,Intro[6]);
TextDrawHideForPlayer(playerid,Intro[7]);
TextDrawHideForPlayer(playerid,Intro[8]);
TextDrawHideForPlayer(playerid,Intro[9]);
TextDrawHideForPlayer(playerid,Intro[10]);
TextDrawHideForPlayer(playerid,Intro[11]);
TextDrawHideForPlayer(playerid,Intro[12]);
TextDrawHideForPlayer(playerid,Intro[13]);
TextDrawHideForPlayer(playerid,Intro[14]);
Reply
#15

Like this ?
PHP код:
public OnPlayerConnect(playerid)
{
    
SetTimerEx("TextDrawTimer"50000false"i"playerid);
    return 
1;
}

forward TextDrawTimer(playerid);
public 
TextDrawTimer(playerid)
{
    
TextDrawHideForPlayer(playerid,Intro[0]);
    
TextDrawHideForPlayer(playerid,Intro[1]);
    
TextDrawHideForPlayer(playerid,Intro[2]);
    
TextDrawHideForPlayer(playerid,Intro[3]);
    
TextDrawHideForPlayer(playerid,Intro[4]);
    
TextDrawHideForPlayer(playerid,Intro[5]);
    
TextDrawHideForPlayer(playerid,Intro[6]);
    
TextDrawHideForPlayer(playerid,Intro[7]);
    
TextDrawHideForPlayer(playerid,Intro[8]);
    
TextDrawHideForPlayer(playerid,Intro[9]);
    
TextDrawHideForPlayer(playerid,Intro[10]);
    
TextDrawHideForPlayer(playerid,Intro[11]);
    
TextDrawHideForPlayer(playerid,Intro[12]);
    
TextDrawHideForPlayer(playerid,Intro[13]);
    
TextDrawHideForPlayer(playerid,Intro[14]);
    return 
1;

Reply
#16

ok something is really pissing me off here.

PHP код:
public OnPlayerConnect(playerid)
{
    
Intro[0] = TextDrawCreate(85.999763121.306808".");
    
TextDrawLetterSize(Intro[0], 2.70319831.384540);
    
TextDrawTextSize(Intro[0], 562.00000010.199999);
    
TextDrawAlignment(Intro[0], 1);
    
TextDrawColor(Intro[0],  0x00000030);
    
TextDrawUseBox(Intro[0], 1);
    
TextDrawBoxColor(Intro[0], 0x00000030);
    
TextDrawSetShadow(Intro[0], 0);
    
TextDrawSetOutline(Intro[0], 0);
    
TextDrawBackgroundColor(Intro[0], 0x00000030);
    
TextDrawFont(Intro[0], 2);
    
TextDrawSetProportional(Intro[0], 0);
    
TextDrawSetShadow(Intro[0], 0);
    
TextDrawSetSelectable(Intro[0], true);
    
Intro[1] = TextDrawCreate(234.000106121.306610"Chase's");
    
TextDrawLetterSize(Intro[1], 1.0744014.945065);
    
TextDrawAlignment(Intro[1], 1);
    
TextDrawColor(Intro[1], 1543462911);
    
TextDrawSetShadow(Intro[1], 0);
    
TextDrawSetOutline(Intro[1], 0);
    
TextDrawBackgroundColor(Intro[1], 255);
    
TextDrawFont(Intro[1], 2);
    
TextDrawSetProportional(Intro[1], 1);
    
TextDrawSetShadow(Intro[1], 0);
    
Intro[2] = TextDrawCreate(226.800003155.653274"----------------------------------");
    
TextDrawLetterSize(Intro[2], 0.4000001.600000);
    
TextDrawAlignment(Intro[2], 1);
    
TextDrawColor(Intro[2], 16711935);
    
TextDrawSetShadow(Intro[2], 0);
    
TextDrawSetOutline(Intro[2], 0);
    
TextDrawBackgroundColor(Intro[2], 255);
    
TextDrawFont(Intro[2], 1);
    
TextDrawSetProportional(Intro[2], 1);
    
TextDrawSetShadow(Intro[2], 0);
    
Intro[3] = TextDrawCreate(234.800018166.853317"COPS");
    
TextDrawLetterSize(Intro[3], 0.6935992.518401);
    
TextDrawAlignment(Intro[3], 1);
    
TextDrawColor(Intro[3], 65535);
    
TextDrawSetShadow(Intro[3], 0);
    
TextDrawSetOutline(Intro[3], 0);
    
TextDrawBackgroundColor(Intro[3], 255);
    
TextDrawFont(Intro[3], 3);
    
TextDrawSetProportional(Intro[3], 1);
    
TextDrawSetShadow(Intro[3], 0);
    
Intro[4] = TextDrawCreate(297.200164164.613250"&");
    
TextDrawLetterSize(Intro[4], 0.7448002.914131);
    
TextDrawAlignment(Intro[4], 1);
    
TextDrawColor(Intro[4], -5963521);
    
TextDrawSetShadow(Intro[4], 0);
    
TextDrawSetOutline(Intro[4], 0);
    
TextDrawBackgroundColor(Intro[4], 255);
    
TextDrawFont(Intro[4], 2);
    
TextDrawSetProportional(Intro[4], 1);
    
TextDrawSetShadow(Intro[4], 0);
    
Intro[5] = TextDrawCreate(329.200073167.600051"ROBBERS");
    
TextDrawLetterSize(Intro[5], 0.6368002.406399);
    
TextDrawAlignment(Intro[5], 1);
    
TextDrawColor(Intro[5], -469756929);
    
TextDrawSetShadow(Intro[5], 0);
    
TextDrawSetOutline(Intro[5], 0);
    
TextDrawBackgroundColor(Intro[5], 255);
    
TextDrawFont(Intro[5], 3);
    
TextDrawSetProportional(Intro[5], 1);
    
TextDrawSetShadow(Intro[5], 0);
    
Intro[6] = TextDrawCreate(206.799957380.400024"www.cnrgamers.com");
    
TextDrawLetterSize(Intro[6], 0.5024002.040533);
    
TextDrawAlignment(Intro[6], 1);
    
TextDrawColor(Intro[6], 16711935);
    
TextDrawSetShadow(Intro[6], 3);
    
TextDrawSetOutline(Intro[6], 1);
    
TextDrawBackgroundColor(Intro[6], 41215);
    
TextDrawFont(Intro[6], 2);
    
TextDrawSetProportional(Intro[6], 1);
    
TextDrawSetShadow(Intro[6], 3);
    
Intro[7] = TextDrawCreate(226.800003187.759948"Welcome, Thanks For Visiting");
    
TextDrawLetterSize(Intro[7], 0.4000001.600000);
    
TextDrawAlignment(Intro[7], 1);
    
TextDrawColor(Intro[7], -1391401217);
    
TextDrawSetShadow(Intro[7], 0);
    
TextDrawSetOutline(Intro[7], 0);
    
TextDrawBackgroundColor(Intro[7], 255);
    
TextDrawFont(Intro[7], 1);
    
TextDrawSetProportional(Intro[7], 1);
    
TextDrawSetShadow(Intro[7], 0);
    
Intro[8] = TextDrawCreate(233.200057215.386642"- Always Follow The /rules");
    
TextDrawLetterSize(Intro[8], 0.4000001.600000);
    
TextDrawAlignment(Intro[8], 1);
    
TextDrawColor(Intro[8], -1378294017);
    
TextDrawSetShadow(Intro[8], 0);
    
TextDrawSetOutline(Intro[8], 0);
    
TextDrawBackgroundColor(Intro[8], 255);
    
TextDrawFont(Intro[8], 1);
    
TextDrawSetProportional(Intro[8], 1);
    
TextDrawSetShadow(Intro[8], 0);
    
Intro[9] = TextDrawCreate(197.099884237.079925"- Use /cmds For A List Of Commands");
    
TextDrawLetterSize(Intro[9], 0.4000001.600000);
    
TextDrawAlignment(Intro[9], 1);
    
TextDrawColor(Intro[9], -1378294017);
    
TextDrawSetShadow(Intro[9], 0);
    
TextDrawSetOutline(Intro[9], 0);
    
TextDrawBackgroundColor(Intro[9], 255);
    
TextDrawFont(Intro[9], 1);
    
TextDrawSetProportional(Intro[9], 1);
    
TextDrawSetShadow(Intro[9], 0);
    
Intro[10] = TextDrawCreate(208.699737258.900115"- Repsect Others Including Admins");
    
TextDrawLetterSize(Intro[10], 0.4000001.600000);
    
TextDrawAlignment(Intro[10], 1);
    
TextDrawColor(Intro[10], -1378294017);
    
TextDrawSetShadow(Intro[10], 0);
    
TextDrawSetOutline(Intro[10], 0);
    
TextDrawBackgroundColor(Intro[10], 255);
    
TextDrawFont(Intro[10], 1);
    
TextDrawSetProportional(Intro[10], 1);
    
TextDrawSetShadow(Intro[10], 0);
    
Intro[11] = TextDrawCreate(207.099960280.346801"- No Random Killing [Kick or Ban]");
    
TextDrawLetterSize(Intro[11], 0.4000001.600000);
    
TextDrawAlignment(Intro[11], 1);
    
TextDrawColor(Intro[11], -1378294017);
    
TextDrawSetShadow(Intro[11], 0);
    
TextDrawSetOutline(Intro[11], 0);
    
TextDrawBackgroundColor(Intro[11], 255);
    
TextDrawFont(Intro[11], 1);
    
TextDrawSetProportional(Intro[11], 1);
    
TextDrawSetShadow(Intro[11], 0);
    
Intro[12] = TextDrawCreate(175.800018303.593414"- Cheating Will Not Be Tolerated Here [Ban]");
    
TextDrawLetterSize(Intro[12], 0.4000001.600000);
    
TextDrawAlignment(Intro[12], 1);
    
TextDrawColor(Intro[12], -1378294017);
    
TextDrawSetShadow(Intro[12], 0);
    
TextDrawSetOutline(Intro[12], 0);
    
TextDrawBackgroundColor(Intro[12], 255);
    
TextDrawFont(Intro[12], 1);
    
TextDrawSetProportional(Intro[12], 1);
    
TextDrawSetShadow(Intro[12], 0);
    
Intro[13] = TextDrawCreate(169.199951325.893249"- YOU MUST /REGISTER DONT FORGET TO /LOGIN");
    
TextDrawLetterSize(Intro[13], 0.4000001.600000);
    
TextDrawAlignment(Intro[13], 1);
    
TextDrawColor(Intro[13], 1543412911);
    
TextDrawSetShadow(Intro[13], 0);
    
TextDrawSetOutline(Intro[13], 0);
    
TextDrawBackgroundColor(Intro[13], 255);
    
TextDrawFont(Intro[13], 1);
    
TextDrawSetProportional(Intro[13], 1);
    
TextDrawSetShadow(Intro[13], 0);
    
Intro[14] = TextDrawCreate(117.199981362.480041"CLEO ELS LIGHTS AND CAR MODS WELCOME HERE. NOTHING ELSE");
    
TextDrawLetterSize(Intro[14], 0.4000001.600000);
    
TextDrawAlignment(Intro[14], 1);
    
TextDrawColor(Intro[14], -65281);
    
TextDrawSetShadow(Intro[14], 0);
    
TextDrawSetOutline(Intro[14], 0);
    
TextDrawBackgroundColor(Intro[14], 255);
    
TextDrawFont(Intro[14], 1);
    
TextDrawSetProportional(Intro[14], 1);
    
TextDrawSetShadow(Intro[14], 0);
    
    
TextDrawShowForPlayer(playerid,Intro[0]);
    
TextDrawShowForPlayer(playerid,Intro[1]);
    
TextDrawShowForPlayer(playerid,Intro[2]);
    
TextDrawShowForPlayer(playerid,Intro[3]);
    
TextDrawShowForPlayer(playerid,Intro[4]);
    
TextDrawShowForPlayer(playerid,Intro[5]);
    
TextDrawShowForPlayer(playerid,Intro[6]);
    
TextDrawShowForPlayer(playerid,Intro[7]);
    
TextDrawShowForPlayer(playerid,Intro[8]);
    
TextDrawShowForPlayer(playerid,Intro[9]);
    
TextDrawShowForPlayer(playerid,Intro[10]);
    
TextDrawShowForPlayer(playerid,Intro[11]);
    
TextDrawShowForPlayer(playerid,Intro[12]);
    
TextDrawShowForPlayer(playerid,Intro[13]);
    
TextDrawShowForPlayer(playerid,Intro[14]);
    
TextDrawShowForPlayer(playerid,Version[0]);
//end of intro textdraw
//Version Textdraw
    
Version[0] = TextDrawCreate(586.6664420.222185"Ver. [0.5A]");
    
TextDrawLetterSize(Version[0], 0.2577771.190371);
    
TextDrawAlignment(Version[0], 1);
    
TextDrawColor(Version[0], 3975935);
    
TextDrawSetShadow(Version[0], 0);
    
TextDrawSetOutline(Version[0], 0);
    
TextDrawBackgroundColor(Version[0], 255);
    
TextDrawFont(Version[0], 1);
    
TextDrawSetProportional(Version[0], 1);
    
TextDrawSetShadow(Version[0], 0);
    
TextDrawSetSelectable(Version[0], true);
//End Of Version Textdraw
//Into Textdraw Timer
{
    
SetTimerEx("TextDrawTimer"50000false"i"playerid);
    return 
1;
}
forward TextDrawTimer(playerid);
public 
TextDrawTimer(playerid)
{
    
TextDrawHideForPlayer(playerid,Intro[0]);
    
TextDrawHideForPlayer(playerid,Intro[1]);
    
TextDrawHideForPlayer(playerid,Intro[2]);
    
TextDrawHideForPlayer(playerid,Intro[3]);
    
TextDrawHideForPlayer(playerid,Intro[4]);
    
TextDrawHideForPlayer(playerid,Intro[5]);
    
TextDrawHideForPlayer(playerid,Intro[6]);
    
TextDrawHideForPlayer(playerid,Intro[7]);
    
TextDrawHideForPlayer(playerid,Intro[8]);
    
TextDrawHideForPlayer(playerid,Intro[9]);
    
TextDrawHideForPlayer(playerid,Intro[10]);
    
TextDrawHideForPlayer(playerid,Intro[11]);
    
TextDrawHideForPlayer(playerid,Intro[12]);
    
TextDrawHideForPlayer(playerid,Intro[13]);
    
TextDrawHideForPlayer(playerid,Intro[14]);//timer
    
return 1;
}
C:\Users\Chase Steinhauser\Desktop\Chases CnR\pawno\include\sscanf2.inc(227) : error 017undefined symbol "SSCANF_OnPlayerDisconnect"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(288) : warning 217loose indentation
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(293) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(293) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(293) : error 017undefined symbol "TextDrawTimer"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(294) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(294) : error 017undefined symbol "TextDrawTimer"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(315) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(315) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(315) : error 004: function "SSCANF_OnPlayerDisconnect" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(321) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(321) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(321) : error 004: function "OnPlayerSpawn" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(343) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(343) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(343) : error 004: function "OnPlayerDeath" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(348) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(348) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(348) : error 004: function "OnVehicleSpawn" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(353) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(353) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(353) : error 004: function "OnVehicleDeath" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(358) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(358) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(358) : error 004: function "OnPlayerText" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(363) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(363) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(363) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(365) : error 017undefined symbol "cmdtext"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(373) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(373) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(373) : error 004: function "OnPlayerEnterVehicle" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(378) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(378) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(378) : error 004: function "OnPlayerExitVehicle" is not implemented
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(383) : warning 225unreachable code
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(383) : error 029invalid expressionassumed zero
C
:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(383) : error 004: function "OnPlayerStateChange" is not implemented 
Reply
#17

PHP код:
public OnPlayerConnect(playerid)
{
    
Intro[0] = TextDrawCreate(85.999763121.306808".");
    
TextDrawLetterSize(Intro[0], 2.70319831.384540);
    
TextDrawTextSize(Intro[0], 562.00000010.199999);
    
TextDrawAlignment(Intro[0], 1);
    
TextDrawColor(Intro[0],  0x00000030);
    
TextDrawUseBox(Intro[0], 1);
    
TextDrawBoxColor(Intro[0], 0x00000030);
    
TextDrawSetShadow(Intro[0], 0);
    
TextDrawSetOutline(Intro[0], 0);
    
TextDrawBackgroundColor(Intro[0], 0x00000030);
    
TextDrawFont(Intro[0], 2);
    
TextDrawSetProportional(Intro[0], 0);
    
TextDrawSetShadow(Intro[0], 0);
    
TextDrawSetSelectable(Intro[0], true);
    
Intro[1] = TextDrawCreate(234.000106121.306610"Chase's");
    
TextDrawLetterSize(Intro[1], 1.0744014.945065);
    
TextDrawAlignment(Intro[1], 1);
    
TextDrawColor(Intro[1], 1543462911);
    
TextDrawSetShadow(Intro[1], 0);
    
TextDrawSetOutline(Intro[1], 0);
    
TextDrawBackgroundColor(Intro[1], 255);
    
TextDrawFont(Intro[1], 2);
    
TextDrawSetProportional(Intro[1], 1);
    
TextDrawSetShadow(Intro[1], 0);
    
Intro[2] = TextDrawCreate(226.800003155.653274"----------------------------------");
    
TextDrawLetterSize(Intro[2], 0.4000001.600000);
    
TextDrawAlignment(Intro[2], 1);
    
TextDrawColor(Intro[2], 16711935);
    
TextDrawSetShadow(Intro[2], 0);
    
TextDrawSetOutline(Intro[2], 0);
    
TextDrawBackgroundColor(Intro[2], 255);
    
TextDrawFont(Intro[2], 1);
    
TextDrawSetProportional(Intro[2], 1);
    
TextDrawSetShadow(Intro[2], 0);
    
Intro[3] = TextDrawCreate(234.800018166.853317"COPS");
    
TextDrawLetterSize(Intro[3], 0.6935992.518401);
    
TextDrawAlignment(Intro[3], 1);
    
TextDrawColor(Intro[3], 65535);
    
TextDrawSetShadow(Intro[3], 0);
    
TextDrawSetOutline(Intro[3], 0);
    
TextDrawBackgroundColor(Intro[3], 255);
    
TextDrawFont(Intro[3], 3);
    
TextDrawSetProportional(Intro[3], 1);
    
TextDrawSetShadow(Intro[3], 0);
    
Intro[4] = TextDrawCreate(297.200164164.613250"&");
    
TextDrawLetterSize(Intro[4], 0.7448002.914131);
    
TextDrawAlignment(Intro[4], 1);
    
TextDrawColor(Intro[4], -5963521);
    
TextDrawSetShadow(Intro[4], 0);
    
TextDrawSetOutline(Intro[4], 0);
    
TextDrawBackgroundColor(Intro[4], 255);
    
TextDrawFont(Intro[4], 2);
    
TextDrawSetProportional(Intro[4], 1);
    
TextDrawSetShadow(Intro[4], 0);
    
Intro[5] = TextDrawCreate(329.200073167.600051"ROBBERS");
    
TextDrawLetterSize(Intro[5], 0.6368002.406399);
    
TextDrawAlignment(Intro[5], 1);
    
TextDrawColor(Intro[5], -469756929);
    
TextDrawSetShadow(Intro[5], 0);
    
TextDrawSetOutline(Intro[5], 0);
    
TextDrawBackgroundColor(Intro[5], 255);
    
TextDrawFont(Intro[5], 3);
    
TextDrawSetProportional(Intro[5], 1);
    
TextDrawSetShadow(Intro[5], 0);
    
Intro[6] = TextDrawCreate(206.799957380.400024"www.cnrgamers.com");
    
TextDrawLetterSize(Intro[6], 0.5024002.040533);
    
TextDrawAlignment(Intro[6], 1);
    
TextDrawColor(Intro[6], 16711935);
    
TextDrawSetShadow(Intro[6], 3);
    
TextDrawSetOutline(Intro[6], 1);
    
TextDrawBackgroundColor(Intro[6], 41215);
    
TextDrawFont(Intro[6], 2);
    
TextDrawSetProportional(Intro[6], 1);
    
TextDrawSetShadow(Intro[6], 3);
    
Intro[7] = TextDrawCreate(226.800003187.759948"Welcome, Thanks For Visiting");
    
TextDrawLetterSize(Intro[7], 0.4000001.600000);
    
TextDrawAlignment(Intro[7], 1);
    
TextDrawColor(Intro[7], -1391401217);
    
TextDrawSetShadow(Intro[7], 0);
    
TextDrawSetOutline(Intro[7], 0);
    
TextDrawBackgroundColor(Intro[7], 255);
    
TextDrawFont(Intro[7], 1);
    
TextDrawSetProportional(Intro[7], 1);
    
TextDrawSetShadow(Intro[7], 0);
    
Intro[8] = TextDrawCreate(233.200057215.386642"- Always Follow The /rules");
    
TextDrawLetterSize(Intro[8], 0.4000001.600000);
    
TextDrawAlignment(Intro[8], 1);
    
TextDrawColor(Intro[8], -1378294017);
    
TextDrawSetShadow(Intro[8], 0);
    
TextDrawSetOutline(Intro[8], 0);
    
TextDrawBackgroundColor(Intro[8], 255);
    
TextDrawFont(Intro[8], 1);
    
TextDrawSetProportional(Intro[8], 1);
    
TextDrawSetShadow(Intro[8], 0);
    
Intro[9] = TextDrawCreate(197.099884237.079925"- Use /cmds For A List Of Commands");
    
TextDrawLetterSize(Intro[9], 0.4000001.600000);
    
TextDrawAlignment(Intro[9], 1);
    
TextDrawColor(Intro[9], -1378294017);
    
TextDrawSetShadow(Intro[9], 0);
    
TextDrawSetOutline(Intro[9], 0);
    
TextDrawBackgroundColor(Intro[9], 255);
    
TextDrawFont(Intro[9], 1);
    
TextDrawSetProportional(Intro[9], 1);
    
TextDrawSetShadow(Intro[9], 0);
    
Intro[10] = TextDrawCreate(208.699737258.900115"- Repsect Others Including Admins");
    
TextDrawLetterSize(Intro[10], 0.4000001.600000);
    
TextDrawAlignment(Intro[10], 1);
    
TextDrawColor(Intro[10], -1378294017);
    
TextDrawSetShadow(Intro[10], 0);
    
TextDrawSetOutline(Intro[10], 0);
    
TextDrawBackgroundColor(Intro[10], 255);
    
TextDrawFont(Intro[10], 1);
    
TextDrawSetProportional(Intro[10], 1);
    
TextDrawSetShadow(Intro[10], 0);
    
Intro[11] = TextDrawCreate(207.099960280.346801"- No Random Killing [Kick or Ban]");
    
TextDrawLetterSize(Intro[11], 0.4000001.600000);
    
TextDrawAlignment(Intro[11], 1);
    
TextDrawColor(Intro[11], -1378294017);
    
TextDrawSetShadow(Intro[11], 0);
    
TextDrawSetOutline(Intro[11], 0);
    
TextDrawBackgroundColor(Intro[11], 255);
    
TextDrawFont(Intro[11], 1);
    
TextDrawSetProportional(Intro[11], 1);
    
TextDrawSetShadow(Intro[11], 0);
    
Intro[12] = TextDrawCreate(175.800018303.593414"- Cheating Will Not Be Tolerated Here [Ban]");
    
TextDrawLetterSize(Intro[12], 0.4000001.600000);
    
TextDrawAlignment(Intro[12], 1);
    
TextDrawColor(Intro[12], -1378294017);
    
TextDrawSetShadow(Intro[12], 0);
    
TextDrawSetOutline(Intro[12], 0);
    
TextDrawBackgroundColor(Intro[12], 255);
    
TextDrawFont(Intro[12], 1);
    
TextDrawSetProportional(Intro[12], 1);
    
TextDrawSetShadow(Intro[12], 0);
    
Intro[13] = TextDrawCreate(169.199951325.893249"- YOU MUST /REGISTER DONT FORGET TO /LOGIN");
    
TextDrawLetterSize(Intro[13], 0.4000001.600000);
    
TextDrawAlignment(Intro[13], 1);
    
TextDrawColor(Intro[13], 1543412911);
    
TextDrawSetShadow(Intro[13], 0);
    
TextDrawSetOutline(Intro[13], 0);
    
TextDrawBackgroundColor(Intro[13], 255);
    
TextDrawFont(Intro[13], 1);
    
TextDrawSetProportional(Intro[13], 1);
    
TextDrawSetShadow(Intro[13], 0);
    
Intro[14] = TextDrawCreate(117.199981362.480041"CLEO ELS LIGHTS AND CAR MODS WELCOME HERE. NOTHING ELSE");
    
TextDrawLetterSize(Intro[14], 0.4000001.600000);
    
TextDrawAlignment(Intro[14], 1);
    
TextDrawColor(Intro[14], -65281);
    
TextDrawSetShadow(Intro[14], 0);
    
TextDrawSetOutline(Intro[14], 0);
    
TextDrawBackgroundColor(Intro[14], 255);
    
TextDrawFont(Intro[14], 1);
    
TextDrawSetProportional(Intro[14], 1);
    
TextDrawSetShadow(Intro[14], 0);
    
    
TextDrawShowForPlayer(playerid,Intro[0]);
    
TextDrawShowForPlayer(playerid,Intro[1]);
    
TextDrawShowForPlayer(playerid,Intro[2]);
    
TextDrawShowForPlayer(playerid,Intro[3]);
    
TextDrawShowForPlayer(playerid,Intro[4]);
    
TextDrawShowForPlayer(playerid,Intro[5]);
    
TextDrawShowForPlayer(playerid,Intro[6]);
    
TextDrawShowForPlayer(playerid,Intro[7]);
    
TextDrawShowForPlayer(playerid,Intro[8]);
    
TextDrawShowForPlayer(playerid,Intro[9]);
    
TextDrawShowForPlayer(playerid,Intro[10]);
    
TextDrawShowForPlayer(playerid,Intro[11]);
    
TextDrawShowForPlayer(playerid,Intro[12]);
    
TextDrawShowForPlayer(playerid,Intro[13]);
    
TextDrawShowForPlayer(playerid,Intro[14]);
    
TextDrawShowForPlayer(playerid,Version[0]);
//end of intro textdraw
//Version Textdraw
    
Version[0] = TextDrawCreate(586.6664420.222185"Ver. [0.5A]");
    
TextDrawLetterSize(Version[0], 0.2577771.190371);
    
TextDrawAlignment(Version[0], 1);
    
TextDrawColor(Version[0], 3975935);
    
TextDrawSetShadow(Version[0], 0);
    
TextDrawSetOutline(Version[0], 0);
    
TextDrawBackgroundColor(Version[0], 255);
    
TextDrawFont(Version[0], 1);
    
TextDrawSetProportional(Version[0], 1);
    
TextDrawSetShadow(Version[0], 0);
    
TextDrawSetSelectable(Version[0], true);
//End Of Version Textdraw
//Intro Textdraw Timer
{
    
SetTimerEx("TextDrawTimer"50000false"i"playerid);
}
    
forward TextDrawTimer(playerid);
    public 
TextDrawTimer(playerid)
    
TextDrawHideForPlayer(playerid,Intro[0]);
    
TextDrawHideForPlayer(playerid,Intro[1]);
    
TextDrawHideForPlayer(playerid,Intro[2]);
    
TextDrawHideForPlayer(playerid,Intro[3]);
    
TextDrawHideForPlayer(playerid,Intro[4]);
    
TextDrawHideForPlayer(playerid,Intro[5]);
    
TextDrawHideForPlayer(playerid,Intro[6]);
    
TextDrawHideForPlayer(playerid,Intro[7]);
    
TextDrawHideForPlayer(playerid,Intro[8]);
    
TextDrawHideForPlayer(playerid,Intro[9]);
    
TextDrawHideForPlayer(playerid,Intro[10]);
    
TextDrawHideForPlayer(playerid,Intro[11]);
    
TextDrawHideForPlayer(playerid,Intro[12]);
    
TextDrawHideForPlayer(playerid,Intro[13]);
    
TextDrawHideForPlayer(playerid,Intro[14]);
    return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    
ClearAnimations(playerid); //to stop the animation
    
return 1;

still getting C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(28 : warning 217: loose indentation
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(291) : warning 217: loose indentation
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(291) : error 029: invalid expression, assumed zero
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(291) : error 017: undefined symbol "TextDrawTimer"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(292) : error 029: invalid expression, assumed zero
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(292) : error 017: undefined symbol "TextDrawTimer"
C:\Users\Chase Steinhauser\Desktop\Chases CnR\gamemodes\ChasesCnR.pwn(294) : error 001: expected token: ";", but found "-identifier-"
Reply
#18

What are the lines of errors ? Show it.
Reply
#19

You have embedded a function header inside OnPlayerConnect.

PHP код:
forward TextDrawTimer(playerid);
public 
TextDrawTimer(playerid
That is inside OnPlayerConnect, and should be another function placed outside of OnPlayerConnect (or any other function). Sort your indentation out.
Reply
#20

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
What are the lines of errors ? Show it.
forward TextDrawHideForPlayer(playerid);
public TextDrawHideForPlayer(playerid)

to deal with this shit ^ and i will try that when i get home thanks for replying!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)