Tag mismatch
#1

hello
this line shows a tag mismatch:
PHP код:
format(string,sizeof(string),"%i(%i)",cInfo[v][modelid],cInfo[v][db_id]); 
what's wrong here?
Reply
#2

Where is the tag mismatch in the line? cInfo[v][modelid],cInfo[v][db_id] are both integer ?
Reply
#3

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Where is the tag mismatch in the line? cInfo[v][modelid],cInfo[v][db_id] are both integer ?
yez they are
Reply
#4

Your code looks fine. Show the cInfo enum.
Reply
#5

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
Show your cInfo enum.
PHP код:
enum carEnum{
carowner[MAX_PLAYER_NAME],
carmodelid,
Float:c_x,
Float:c_y,
Float:c_z,
Float:c_r,
c_color1,
c_color2,
c_respawntime,
cnitro,
paintjob,
plate,
c_autorespawn,
carteam,
db_id
}
new 
cInfo[1000][carEnum]; 
Reply
#6

Welp i need carmodelid not modelid
.
Reply
#7

Quote:
Originally Posted by justjamie
Посмотреть сообщение
PHP код:
enum carEnum{
carowner[MAX_PLAYER_NAME],
carmodelid,
Float:c_x,
Float:c_y,
Float:c_z,
Float:c_r,
c_color1,
c_color2,
c_respawntime,
cnitro,
paintjob,
plate,
c_autorespawn,
carteam,
db_id
}
new 
cInfo[1000][carEnum]; 
Your problem is not in the enumerator or in the format. Show where you used the string variable.
Reply
#8

Код:
format(string,sizeof(string),"%i(%i)",cInfo[v][carmodelid],cInfo[v][db_id]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)