[INC]Teleports -
Forb - 30.01.2009
Hello..
This is maybe not a INC but im not sure :P (noob scripter)
Its commands in a inc file. that you put into your gamemode.
eg commands :
/arch = brings you to arch in sf to modd shop
/sfairport = san fierros airport
/vinewood = vinewood sign in los santos
/4dragons = 4dragons casino in Las Venturas
/chilliad = brings you to chilliad
Just follow instructions in the inc file :P
Pce
Rapidshare :
http://rapidshare.com/files/19154505...ports.inc.html
Its usefull to FREEROAM i think ;P
[size=10pt]EDIT :[/size]
Next release will hold more teleports =)
*ls airport
*skatepark /ls
*lv airport
*ls = middle in city
*sf = middle in city
*lv = middle in city
* Suggestions. Give some
Re: [INC]Teleports -
yom - 30.01.2009
You have to test your script and search for bugs in it, before releasing. What shadow mean is, if you type a command in any interiors (but 0) well, you will end in a grey, untextured world. You have to use SetPlayerInterior before SetPlayerPos. Outside world is interiorid 0.
Re: [INC]Teleports -
Badger(new) - 30.01.2009
instead of having this saved on notepad, you could change it to on a pawno filterscript (just have include <sa-mp> (or whatever) at the top and put the commands under:
OnPlayerCommandText(playerid, cmdext[])
also shadowww you don't need to make such a big fuss when all you or he has to add to the teleports is:
if the player is in a vehicle, put after setvehiclepos:
Код:
new VID = GetPlayerVehicleID(playerid);
SetVehicleVirtualWorld(VID,0);
if the player isnt in a vehicle, put after setplayerpos:
Код:
SetPlayerInterior(playerid,0);
Re: [INC]Teleports -
yom - 30.01.2009
Quote:
Originally Posted by Forb
Why not?
|
Because it's a waste of memory, when you use it only once.
Re: [INC]Teleports -
Forb - 30.01.2009
Quote:
Originally Posted by 0rb
Quote:
Originally Posted by Forb
Why not?
|
Because it's a waste of memory, when you use it only once.
|
ok.. but what didn't you understand when i said
It means that im a noob scripter if i didnt make it clear...
I'm still learning..
thx for the
Re: [INC]Teleports -
yom - 30.01.2009
Well, nowhere i said "bahh noob, you don't know why it's better to not create a variable when you use it only once, shame", instead i've just explained you the simplest way possible