SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > PortuguÍs/Portuguese

Reply
 
Thread Tools Display Modes
Old 01/08/2020, 12:39 AM   #1
Matheeus12
Little Clucker
 
Join Date: Jun 2020
Posts: 38
Reputation: 0
Default alguem ajuda com isso literal array/string passed to a non-const parameter

esta dando erro nessa linha cache_get_field_name(0, "Proprietario", House_Data[i][Proprietario]);

eu ja mudei para native cache_get_field_name(field_index, const destination[], max_len = sizeof(destination));

e ainda continua o erro, algueem sabe como resolve??
Matheeus12 is offline   Reply With Quote
Old 01/08/2020, 03:44 AM   #2
GM_KoDi
Gangsta
 
GM_KoDi's Avatar
 
Join Date: Oct 2012
Location: Brazil
Posts: 824
Reputation: 266
Default Re: alguem ajuda com isso literal array/string passed to a non-const parameter

Quote:
Originally Posted by Matheeus12 View Post
esta dando erro nessa linha cache_get_field_name(0, "Proprietario", House_Data[i][Proprietario]);

eu ja mudei para native cache_get_field_name(field_index, const destination[], max_len = sizeof(destination));

e ainda continua o erro, algueem sabe como resolve??
Utilize
Code:
cache_get_value_name
__________________
Skills with GTA SA and SA-MP
[✔] TextDraws [✔] Mapper [✔] 3D Modeler [✔] Pawn Scripts [✔] Cleo Scripts

GM_KoDi is offline   Reply With Quote
Old 01/08/2020, 03:36 PM   #3
Matheeus12
Little Clucker
 
Join Date: Jun 2020
Posts: 38
Reputation: 0
Default Re: alguem ajuda com isso literal array/string passed to a non-const parameter

Quote:
Originally Posted by GM_KoDi View Post
Utilize
Code:
cache_get_value_name

karai resolveu, valeeu +rep
Matheeus12 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
literal array/string passed to a non-const parameter alvaro9564 Scripting Help 4 17/06/2020 05:44 PM
warning 239: literal array/string passed to a non-const parameter gui13 Scripting Help 7 18/12/2019 07:52 AM
literal array/string passed to a non-const parameter DuyDang2412 Scripting Help 3 08/07/2019 02:24 AM


All times are GMT. The time now is 07:10 PM.


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