[Include] Teleports.inc - Easily create teleports with 1 line!
#7

Quote:
Originally Posted by Excel™
Посмотреть сообщение
This is pretty useless until and unless you add some bonus into it. I mean it would have been better if you were able to create teleport in one line with pickups and 3DTextlabels on the teleport position.(just an idea)
Well, I wanted this to be for commands and such, like for stunt servers, instead of pickups with labels and whatnot.

I might consider adding a few optional parameters to it in the future though which will contain labels and pickups, but not for now.

Quote:
Originally Posted by Excel™
Посмотреть сообщение
And you don't need this while teleporting the player with vehicle.
pawn Код:
PutPlayerInVehicle( playerid, vehicleid, 0 );
Removed.

Quote:
Originally Posted by Excel™
Посмотреть сообщение
And lol, why would you ever create a callback if you have to handle teleports manually( from script)!
pawn Код:
OnPlayerTeleport( playerid, teleportid );
Didn't quite understand you there..

Quote:
Originally Posted by Excel™
Посмотреть сообщение
You don't require that if there is no deleting of a teleport;
pawn Код:
IsValidTeleport( telid )
Removed.

Quote:
Originally Posted by Excel™
Посмотреть сообщение
No use of this anywhere in you script, except storing tele name!
pawn Код:
s_Teleports[ s_count ][ NAME ]
YOu could make an option of displaying teleport name through gametexts!
It sends the message with the name in the chat whenever you teleport, or atleast you can make that as I did in the example code.

Thanks for pointing out those things though, it's never too late to learn aye
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)