#1

how to add the bank in your map ?
Reply
#2

Do you mean commands or the interior?

Quote:
Originally Posted by rober98
Посмотреть сообщение
the interior
Use:
Код:
IsPlayerInRangeOfPoint(playerid, Range, X, Y,Z); // So they wont enter from across the map
SetPlayerPos(playerid, X, Y, Z); // For enter and exit
SetPlayerInterior(playerid, Interiorid); // Also for enter and exit
Reply
#3

the interior
Reply
#4

http://weedarr.wikidot.com/interior
Reply
#5

Quote:
Originally Posted by Jankingston
Посмотреть сообщение
You also need a function that can bring you to the co-ordinates so that you can set the interior in-game (or something like that.)
Reply
#6

how can i know the position in the game ?
Reply
#7

Quote:
Originally Posted by rober98
Посмотреть сообщение
how can i know the position in the game ?
You use the /save command that is implemented in every script, then you need to go to
My Documents > GTA San Andreas User Files > SAMP > savedpositions.

In that text file you will see your saved position

AddPlayerClass(288,-1651.6089,-2243.5957,31.1789,10.0000,0,0,0,0,0,0);
AddPlayerClass(Skin id, X, Y, Z, Facing,Gun1,Ammo1,Gun2,Ammo2,Gun3,Ammo3);

Just take your X, Y and Z numbers and put it into the proper function:

IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)