26.10.2008, 15:37
hey!
well amm... i pretty bored.. then i just create stupid scripts..
this script helps you to make teleports easly.
the pattren:
text[] - the teleport name (like Race or Drift)
tcar - teleport with car?
Float, Float:y, Float:z, Float:Angle - the player cordinitions
Float2, Float:y2, Float:z2, Float:Angle2 - The vehicle cordinitions (you can make it like the player cords, unless its else..)
interior - the interior id
Exemple:
Some more small functions:
- cant teleport with less then 20 hp
- welcome texts on chat / gametext
SOON RE-EDITED VERSION!
download:
SendSpace: http://www.sendspace.com/file/pxim0t
PasteBin: http://pastebin.ca/1236972
please do not mirror it!
Enjoy
well amm... i pretty bored.. then i just create stupid scripts..
this script helps you to make teleports easly.
the pattren:
Code:
UseTele(playerid, text[], tcar, Float:x, Float:y, Float:z, Float:Angle, Float:x2, Float:y2, Float:z2, Float:Angle2, interior)
tcar - teleport with car?
Float, Float:y, Float:z, Float:Angle - the player cordinitions
Float2, Float:y2, Float:z2, Float:Angle2 - The vehicle cordinitions (you can make it like the player cords, unless its else..)
interior - the interior id
Exemple:
Code:
if (strcmp(cmdtext, "/race", true)==0){ UseTele(playerid,"Race",1,-1545.0420,885.3517,7.2656,96.1044,-2585.2512,1104.0696,55.4219,331.1273,0); return 1;}
- cant teleport with less then 20 hp
- welcome texts on chat / gametext
SOON RE-EDITED VERSION!
download:
SendSpace: http://www.sendspace.com/file/pxim0t
PasteBin: http://pastebin.ca/1236972
please do not mirror it!
Enjoy