Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Mean - 04.01.2011
So, basically I've decided to realase this include.
This will actually make a new function, that will make you travel to desired position, no more booring SetPlayerPos
.
Also credit to Retardedwolf for fixing a bug. (You know the topic where I forgot to put x, y, and z in timer
)
This will give you one new function
pawn Code:
SetPlayerPosTravel(playerid, Float:x, Float:y, Float:z);
Also, you can change the travel time:
pawn Code:
#define TRAVEL_TIME 20 // seconds
Example usage:
pawn Code:
dcmd_test(playerid, params[])
{
return SetPlayerPosTravel(playerid, 0.0, 0.0, 0.0);
}
^^ this will first of all travel to desired position, and then it will put you there...
Screens:
Traveling in shamal cabin:
After traveling, you get teleported to desired position:
Also note that this will also load objects when you teleport, so no more falling through objects while spawning.
Download:
Solidfiles:
http://solidfiles.com/d/28351/
Pastebin:
http://pawn.pastebin.com/3cTeQTyc
Enjoy!
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Mr L - 04.01.2011
Good Job downloading it.
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Mean - 05.01.2011
Thanks! I will update it, i'll map a special travel plane.
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Flyfishes - 05.01.2011
Could we get this on pastebin? Thanks
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Mean - 05.01.2011
I'll do it but I am on my phone now.
EDIT: Added pastebin link.
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Sledge - 06.01.2011
thank you
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
Whizion - 06.01.2011
Good job.
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
LZLo - 04.02.2011
nice work
Re: Traveling to locations, 1 new function/stock || Good for Roleplay servers! -
SkizzoTrick - 10.02.2011
Wow,really nice xD