SA-MP Forums Archive
help me please !!! (little problem but i can't do it) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help me please !!! (little problem but i can't do it) (/showthread.php?tid=74310)



help me please !!! (little problem but i can't do it) - speedy199 - 21.04.2009

I use this script , But i found 5 problem eror

new Text:NOS[RP] - www.zyscript.com/nosrp;


in OnPlayerConnect

ShowTextdrawForPlayer(playerid,NOS [RP] - www.zyscript.com/nosrp);

in OnGameModeInit

NOS [RP] - www.zyscript.com/nosrp = TextDrawCreate(4.000000,435.000000,"NOS[RP] - www.zyscript.com/nosrp");
TextDrawFont(NOS [RP] - www.zyscript.com/nosrp,1);
TextDrawColor(NOS [RP] - www.zyscript.com/nosrp,0x33AA33AA);
TextDrawLetterSize(NOS [RP] - www.zyscript.com/nosrp,0.599999,1.000000);
TextDrawSetOutline(NOS [RP] - www.zyscript.com/nosrp,1);
TextDrawSetShadow(NOS [RP] - www.zyscript.com/nosrp,1);
TextDrawSetProportional(NOS [RP] - www.zyscript.com/nosrp,1);
TextDrawBackgroundColor(NOS [RP] - www.zyscript.com/nosrp,0x000000ff);




I found eror this

C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(24 : error 017: undefined symbol "RP"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2630) : error 017: undefined symbol "ShowTextdrawForPlayer"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2630) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2630) : error 017: undefined symbol "zyscript"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2630) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.



Re: help me please !!! (little problem but i can't do it) - MenaceX^ - 21.04.2009

What's that supposed to be?
pawn Код:
new Text:NOS[RP] - [url]www.zyscript.com/nosrp;[/url][url=http://][/url]



Re: help me please !!! (little problem but i can't do it) - speedy199 - 21.04.2009

Show this text draw to player

NOS[RP] - www.zyscript.com/nosrp

Text drawing shows the lower-left corner of the screen.

(I'm sorry english my not so good)


Re: help me please !!! (little problem but i can't do it) - speedy199 - 22.04.2009

Help me please


Re: help me please !!! (little problem but i can't do it) - afei - 22.04.2009

Код:
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(248) : error 017: undefined symbol "RP"
because you put "RP" in brackets which means it stands for something, so to say.. Like for example Adminlevel[playerid] or string[128]

Код:
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2630) : error 017: undefined symbol "ShowTextdrawForPlayer"
Must be
Код:
TextDrawShowForPlayer



Re: help me please !!! (little problem but i can't do it) - mamorunl - 22.04.2009

Quote:
Originally Posted by speedy199
pawn Код:
new Text:NOS;

in OnPlayerConnect

pawn Код:
TextDrawShowForPlayer(playerid,NOS);
in OnGameModeInit

pawn Код:
NOS = TextDrawCreate(4.000000,435.000000,"NOS[RP] - www. zyscript.com/nosrp");
TextDrawFont(NOS,1);
TextDrawColor(NOS,0x33AA33AA);
TextDrawLetterSize(NOS,0.599999,1.000000);
TextDrawSetOutline(NOS,1);
TextDrawSetShadow(NOS,1);
TextDrawSetProportional(NOS,1);
TextDrawBackgroundColor(NOS,0x000000ff);



Re: help me please !!! (little problem but i can't do it) - speedy199 - 22.04.2009

C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(243) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2421) : error 001: expected token: ",", but found "-identifier-"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2421) : error 017: undefined symbol "RP"
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2421) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\NewProject\Backup\gf.pwn(2421) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.



243 = new Text:NOS RP - www.zyscript.com/nosrp;
2421 = TextDrawShowForPlayer(playerid,NOS RP - www.zyscript.com/nosrp);


Re: help me please !!! (little problem but i can't do it) - MenaceX^ - 22.04.2009

Wow.. I honeslty don't get how you don't see it.

You can't do something like that.. _-
pawn Код:
new Text:NOS[RP] - [url]www.zyscript.com/nosrp;[/url][url=http://][/url]