[FilterScript] Basic Teleport Menu
#1

Basic Teleport Menu

Hello ! I am SiMohamed, i am a beginner scripter, i got the idea to create a Teleport Menu with dialogs.

You can teleport to 19 different place :
  • Los Santos Airport
  • San Fierro Airport
  • Las Venturas Airport
  • The Abandoned Airport
  • SkyDive Los Santos
  • SkyDive San Fierro
  • Mount Chiliad
  • Groove Street
  • Doherty Garage
  • The Foor Dragons Casino
  • Glen Park
  • Santa Maria Beach
  • Ocean Docks
  • Area51
  • Los Santos Tuning Garage
  • San Fierro Tuning Garage
  • Las Venturas Tuning Garage
  • Loco Low Co
  • Wheel Arch Angels Tuning Garage
+ Teleport Messages TextDraw
Pictures






You Can However You Want The Script, Add your own teleports !!!!

Pastebin : http://pastebin.com/q8UhBpQJ
Reply
#2

simple and nice keep it up
Reply
#3

Thanks !
Reply
#4

nice work
Reply
#5

Thanks Man !!
Reply
#6

Good job, also maybe you can add pastebin.
Reply
#7

Ok !!
Reply
#8

PasteBin Added !!
Reply
#9

Quote:
Originally Posted by GeekSiMo
View Post
PasteBin Added !!
This shit of code, I will explain to you, all it can do for Array and cut a lot, nice total.

PHP Code:
enum e_TELEPORT {
    
tName[27],
    
Float:tPos[3]
}
new
    
aTeleport[][e_TELEPORT] = {
        {
"/Race",{1.1,1.1,1.1}}
    };
public 
OnPlayerCommandText(playerid,cmdtext[])
{
    for(new 
i!= sizeof(aTeleport); i++)
    {
        if(!
strcmp(cmdtext,aTeleport[i][tName],true))
        {
            
SetPlayerPos(playerid,aTeleport[i][tPos][0],aTeleport[i][tPos][1],aTeleport[i][tPos][2]);
            
GameTextForPlayer...
        }
    }
    return 
1;

Reply
#10

Nice
<3
Reply
#11

Thanks !
Reply
#12

Very simple ,, and GooD Job
Reply
#13

Thanks !!!
Reply
#14

simo plllz poz now work to neon
Reply
#15

Zbbi !!
Reply
#16

Good work. Keep it up
Reply
#17

Thanks !!!!
Reply
#18

Nice one!
Works perfectly, No errors!
Thanks!
Reply
#19

Overall it's quite a good attempt.Keep it up.
Reply
#20

Good job, this is very useful!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)