Help. ;X
#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


Messages In This Thread
Help. ;X - by AndriusZ* - 15.08.2010, 11:02
Re: Help. ;X - by 0ne - 15.08.2010, 11:24
Re: Help. ;X - by AndriusZ* - 15.08.2010, 11:26
Re: Help. ;X - by 0ne - 15.08.2010, 11:28
Re: Help. ;X - by AndriusZ* - 15.08.2010, 11:39
Re: Help. ;X - by 0ne - 15.08.2010, 11:40
Re: Help. ;X - by AndriusZ* - 15.08.2010, 12:16
Re: Help. ;X - by ikey07 - 15.08.2010, 12:18
Re: Help. ;X - by AndriusZ* - 15.08.2010, 12:19
Re: Help. ;X - by AndriusZ* - 15.08.2010, 12:47

Forum Jump:


Users browsing this thread: 1 Guest(s)