SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/01/2020, 11:41 PM   #1
Spartano
Little Clucker
 
Join Date: Dec 2019
Posts: 9
Reputation: 0
Post Erro:undefined symbol "cache_get_field_content_int"

Alguem me ajuda a resolver ??

Pawn code:

public LoadVips(playerid)
{
if(cache_get_row_count(Connection) == 1)
{
PlayerInfo[playerid][Vip] = cache_get_field_content_int(0, "Nivel");
PlayerInfo[playerid][DiasVip] = cache_get_field_content_int(0, "Dias");
PlayerInfo[playerid][TempoVip] = cache_get_field_content_int(0, "TempoVip");
} else {
PlayerInfo[playerid][Vip] = 0;
PlayerInfo[playerid][DiasVip] = 0;
PlayerInfo[playerid][TempoVip] = 0;
}
return 1;
}

Last edited by Spartano; 18/01/2020 at 12:47 AM.
Spartano is offline   Reply With Quote
Old 18/01/2020, 04:50 AM   #2
Yasef99
Little Clucker
 
Join Date: Jun 2017
Posts: 30
Reputation: 0
Default Re: Erro:undefined symbol "cache_get_field_content_int"

What version of mysql are using?
Yasef99 is offline   Reply With Quote
Old 18/01/2020, 07:14 AM   #3
SiaReyes
Gangsta
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 623
Reputation: 57
Default Re: Erro:undefined symbol "cache_get_field_content_int"

You need to use MySQL r39.

else
MySQL R40+:
https://wiki.sa-mp.com/wiki/MySQL/R4...alue_index_int
SiaReyes 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
[Ajuda] Erro ao copilar o gm - error 017: undefined symbol "inputtext" henriqueTL Português/Portuguese 14 18/08/2017 04:24 PM
Help pliz, error 017: undefined symbol "cache_get_field_content_int" xXNurioXx Scripting Help 4 25/05/2014 01:56 PM
[Ajuda] como resolvo esse erro ? error 017: undefined symbol "god" defaubr Português/Portuguese 2 21/03/2014 09:25 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


All times are GMT. The time now is 04:37 PM.


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