Help. ;X
#1


help me PLEASE. ;x
P.S sorry for large img.
Reply
#2

Did you forward the callback?
Reply
#3

yup. : ]
Reply
#4

Try removing the callback, and see for some errors, if it errors you another callback which should be below the above one, that means above one needs fixing.
Reply
#5

ok.. but now another prob.. i attached 3D Text Label, but i cant see it?

Quote:

new Float:tmpx,Float:tmpy,Float:tmpz;
for(new i=0;i<maxvehicles+1;i++)
{
vehicleDB[i][gas]=60;
GetVehiclePos(i,tmpx,tmpy,tmpz);
{
if(GetVehicleModel(i) == 44
{
new Text3D:label = Create3DTextLabel("/kviesti cili\nJei isalkai, kviesk!", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 475 || GetVehicleModel(i) == 477)
{
new Text3D:label = Create3DTextLabel("/kviesti dylerius\nDidziausi ginklu, narkotiku, zoles pardavejai miestuose!",0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 596 || GetVehicleModel(i) == 599 || GetVehicleModel(i) == 497 || GetVehicleModel(i) == 497 || GetVehicleModel(i) == 490 || GetVehicleModel(i) == 433 || GetVehicleModel(i) == 427 || GetVehicleModel(i) == 601 || GetVehicleModel(i) == 528 || GetVehicleModel(i) == 523)
{
new Text3D:label = Create3DTextLabel("/kviesti policija\nJie pades visada!", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 43
{
new Text3D:label = Create3DTextLabel("/kviesti taksi\nBaySide Taksi\nDirba 24/7!", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == AMBULAN || GetVehicleModel(i) == FIRETRUCK || GetVehicleModel(i) == 489)
{
new Text3D:label = Create3DTextLabel("/kviesti medikus\nJie padės visada! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == TOWTRUCK)
{
new Text3D:label = Create3DTextLabel("/kviesti mechanikus\nJie mašinomis išmano geriausiai! ",0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 587)
{
new Text3D:label = Create3DTextLabel("Admin Transportas! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 554)
{
new Text3D:label = Create3DTextLabel("Mero Transportas! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 56
{
new Text3D:label = Create3DTextLabel("VIP Transportas! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 551)
{
new Text3D:label = Create3DTextLabel("Direktoriu Transportas! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 415)
{
new Text3D:label = Create3DTextLabel("Pagr. Adminu Transportas! ", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
if(GetVehicleModel(i) == 582 || GetVehicleModel(i) == 48
{
new Text3D:label = Create3DTextLabel("/kviesti skelbejus\nGeriausi Reporteriai Kaimeliuose!", 0xAA3333AA,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
}
}
}

Reply
#6

You don't see all of them?

Do like:

first getvehiclemodel goes like:

if(GetVehicleModel
the others should go like

else if(GetVehicleModel
Reply
#7

nothing. ;/
Reply
#8

Your }} } }} } } is wrong, check callback above SyncVehicles(), I think there dont matches these {}{}{}{}{
Reply
#9

with sync ok, now prob with label.. i del it from vehicles.txt, and add at ongamemodeinit, but nothing. :/
Reply
#10

BUMP. (sorry for 2nd post)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)