Hallo,
Wir haben ein Problem und zwar das Biz wird geladen aber die Tankkanister nicht wo man /tanken machen kann.
Folgendes steht im Script:
case _SQL_BUSINESS_LOAD:
{
cache_get_data(rows,fields);
new biz = 0;
if(rows)
{
while(biz<rows)
{
BizInfo[biz+1][bizcreatet] = 1;
cache_get_field_content(biz,"biz_Owned",result);
BizInfo[biz+1][biz_Owned] = strval(result);
cache_get_field_content(biz,"biz_art",result);
BizInfo[biz+1][biz_art] = strval(result);
cache_get_field_content(biz,"biz_preis",result);
BizInfo[biz+1][biz_preis] = strval(result);
cache_get_field_content(biz,"biz_level",result);
BizInfo[biz+1][biz_level] = strval(result);
cache_get_field_content(biz,"biz_geldkasse",result);
BizInfo[biz+1][biz_geldkasse] = strval(result);
cache_get_field_content(biz,"biz_locked",result);
BizInfo[biz+1][biz_locked] = strval(result);
cache_get_field_content(biz,"biz_besitzer",result);
strmid(BizInfo[biz+1][biz_besitzer],result,0,strlen(result),sizeof(result));
cache_get_field_content(biz,"biz_teilhaber",result);
strmid(BizInfo[biz+1][biz_teilhaber],result,0,strlen(result),sizeof(result));
cache_get_field_content(biz,"biz_beschreibung",result);
strmid(BizInfo[biz+1][biz_beschreibung],result,0,strlen(result),sizeof(result));
new savestring[20];
for(new i=0;i<15;i++)
{
format(savestring,sizeof(savestring),"biz_artikel%i",i);
cache_get_field_content(biz,savestring,result);
BizInfo[biz+1][biz_artikel][i] = strval(result);
}
for(new i=0;i<6;i++)
{
format(savestring,sizeof(savestring),"KanisterPos%i",i);
cache_get_field_content(biz,savestring,result);
BizInfo[biz+1][KanisterPos][i] = floatstr(result);
}
cache_get_field_content(biz,"biz_x",result);
BizInfo[biz+1][biz_x] = floatstr(result);
cache_get_field_content(biz,"biz_y",result);
BizInfo[biz+1][biz_y] = floatstr(result);
cache_get_field_content(biz,"biz_z",result);
BizInfo[biz+1][biz_z] = floatstr(result);
cache_get_field_content(biz,"biz_interior",result);
BizInfo[biz+1][biz_interior] = strval(result);
cache_get_field_content(biz,"rentbizvehiclemodelid",result);
BizInfo[biz+1][rentbizvehiclemodelid] = strval(result);
BizLabel[biz+1][0] = Create3DTextLabel("LOAD",BIZCOLOR,BizInfo[biz+1][biz_x],BizInfo[biz+1][biz_y],BizInfo[biz+1][biz_z] +1,20.0,0,1);
if(BizInfo[biz+1][biz_interior] != 0)
Wodran kann das liegen ?
Wir nutzen das Mysql R8 Plugin weil ein anderes funktioniert nicht