Posts: 1,939
Threads: 11
Joined: Oct 2015
Reputation:
0
What is villenaissance field's type? Is it string? then you don't have to use strval and convert it to integer.And use single quotes ('%q' for standard format) if it is string.If it is integer use %d
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
"%e" is not supported by standard "format", use "mysql_format". Also, strings must be enclosed in quotes, i.e "field_value = '%e'"
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
Your code makes no sence. :/
"couloryeux" (wich mean eyes's color) seems to be an integer first "new coloryeux = strval(inputtext);" and after that, you try to update a string with an interger.
Also:
SendClientMessageF(playerid, COLOR_LIGHTBLUE, "Bien vos yeux sont de couleur: %s", inputtext);
mean the player have entered a color like Blue, Green, Grey, or whatever and not an interger.
Either you store the eyes's color as a string or an interger, not both of them at the same time.
Posts: 92
Threads: 25
Joined: Mar 2012
Reputation:
0
Yeah I have understand, thanks, fixed !