Bus int problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bus int problem (
/showthread.php?tid=614489)
Bus int problem -
GunZsmd - 08.08.2016
Hi guys,
So i found a bus int filterscript that most of u probably know about, but it isnt quite what i wanted. I wanted it to be abble to talk to the driver like in the chat (RP servers have proximity chats so doesnt work). I once saw in a server a bus int that was in the vehicle and u could even see the driver's name on the front while ur sitting on the back and hear the bus and everything. My point is: how could they do that? is it attaching objects inside the bus?
Re: Bus int problem -
Luicy. - 09.08.2016
Attaching objects inside a vehicle will blow it up
Check their virtual world while talkinf
Re: Bus int problem -
GunZsmd - 09.08.2016
But its a proximity chat... not worth to check virtual world if player is not even near the bus...
Re: Bus int problem -
Luicy. - 09.08.2016
Quote:
Originally Posted by GunZsmd
But its a proximity chat... not worth to check virtual world if player is not even near the bus...
|
You know what virtual world are for?
Give it a unique world
New world_Bus1 = vehicleid+1000;
Re: Bus int problem -
GunZsmd - 09.08.2016
What then? i just create the object on that world and attach them to the vehicle?
Re: Bus int problem -
Luicy. - 09.08.2016
Map a knterior, create a actor and label, and when they speak, if(HetPlayerVirtualWorld(playerid) == world_Bus1)
Re: Bus int problem -
GunZsmd - 09.08.2016
no like i want the int to follow the bus around like attached to it. If i make it in a different virtual world and attach the objects to the bus will it still explode? if not will the objects still follow the bus?
Re: Bus int problem -
Luicy. - 09.08.2016
Just use mods instead doing this will make people's mods fuck IT up
Re: Bus int problem -
GunZsmd - 09.08.2016
Well most people wont use mods for a damn bus... Thats the most stupid thing to do ever XD. but thanks for trying to help
Re: Bus int problem -
Luicy. - 09.08.2016
Quote:
Originally Posted by GunZsmd
Well most people wont use mods for a damn bus... Thats the most stupid thing to do ever XD. but thanks for trying to help 
|
You'll be suprised over how many people make even theri custom mods for the busses.