16.05.2015, 10:05
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)
And you don't need this while teleporting the player with vehicle.
And lol, why would you ever create a callback if you have to handle teleports manually( from script)!
You don't require that if there is no deleting of a teleport;
No use of this anywhere in you script, except storing tele name!
YOu could make an option of displaying teleport name through gametexts!
And you don't need this while teleporting the player with vehicle.
pawn Код:
PutPlayerInVehicle( playerid, vehicleid, 0 );
pawn Код:
OnPlayerTeleport( playerid, teleportid );
pawn Код:
IsValidTeleport( telid )
pawn Код:
s_Teleports[ s_count ][ NAME ]