15.08.2010, 11:02
Help. ;X
15.08.2010, 11:24
Did you forward the callback?
15.08.2010, 11:26
yup. : ]
15.08.2010, 11:28
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.
15.08.2010, 11:39
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); } } } } |
15.08.2010, 11:40
You don't see all of them?
Do like:
first getvehiclemodel goes like:
if(GetVehicleModel
the others should go like
else if(GetVehicleModel
Do like:
first getvehiclemodel goes like:
if(GetVehicleModel
the others should go like
else if(GetVehicleModel
15.08.2010, 12:16
nothing. ;/
15.08.2010, 12:18
Your }} } }} } } is wrong, check callback above SyncVehicles(), I think there dont matches these {}{}{}{}{
15.08.2010, 12:19
with sync ok, now prob with label.. i del it from vehicles.txt, and add at ongamemodeinit, but nothing. :/
15.08.2010, 12:47
BUMP. (sorry for 2nd post)
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)