SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/02/2016, 11:18 AM   #1
Karolukas123
Huge Clucker
 
Join Date: Nov 2013
Posts: 356
Reputation: 8
Default warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

hey... how to fix it..

Code:
warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters
warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

hook OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
Karolukas123 is offline   Reply With Quote
Old 26/02/2016, 12:35 PM   #2
xEF
Big Clucker
 
xEF's Avatar
 
Join Date: Feb 2016
Location: Anywhere
Posts: 111
Reputation: 5
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

Sincerely, that's the first time that am stocked on a warning.
__________________
xTreme Evolution Freeroam Gaming ! - Rodri (Owner & Scripter)

IP: ip.xeftdm.com:7777

+REP If i helped you


xEF is offline   Reply With Quote
Old 10/07/2019, 03:45 PM   #3
NeXTGoD
Big Clucker
 
NeXTGoD's Avatar
 
Join Date: Jul 2018
Posts: 88
Reputation: 4
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

Change to:

Code:
hook OnPlayerClickPTextDraw(playerid, PlayerText:playertextid)
__________________
.

xSF Reborn:


.
NeXTGoD is offline   Reply With Quote
Old 10/07/2019, 04:11 PM   #4
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 22
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

This might help you and explain the issue: https://forum.sa-mp.com/showthread.php?t=659789
Plastikmensch is offline   Reply With Quote
Old 10/07/2019, 06:24 PM   #5
BlackBank
Gangsta
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 524
Reputation: 437
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

Update your YSI library (y_hooks) and your issue should be fixed.
BlackBank is offline   Reply With Quote
Old 11/07/2019, 02:32 PM   #6
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,066
Reputation: 50
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

you guys are 2fast, answered 3 years later ;d he probably fixed that, problem is that function name is too long, pawn compiler can only allow 30 character as function name. (renaming of the function should fix that)
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 11/07/2019, 03:22 PM   #7
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 22
Default Re: warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

Quote:
Originally Posted by Mugala View Post
you guys are 2fast, answered 3 years later ;d he probably fixed that, problem is that function name is too long, pawn compiler can only allow 30 character as function name. (renaming of the function should fix that)
Oh damn, didn't look at the date of the original post... :D
But isn't it 31 characters?
Plastikmensch is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning 200 - symbol "foobar" is truncated to 31 characters Jay_ Discussion 6 22/02/2015 01:01 PM
Command warning (params) warning 224: indeterminate array size in "sizeof" expression (symbol "maxlength") Riwerry Scripting Help 1 24/05/2014 10:54 PM
warning 224: indeterminate array size in "sizeof" expression (symbol "") Fierro Scripting Help 7 12/10/2013 02:59 PM
5 Dialog errors - Input line too long, undefined symbol "t","is" and "only" Deal-or-die Scripting Help 6 01/05/2012 12:08 PM
[SOLVED]warning 224: indeterminate array size in "sizeof" expression (symbol "") LarzI Help Archive 2 22/12/2009 04:32 AM


All times are GMT. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.