Help House :D
#1

Hello Guys
i Want Know How To Make House CMD:CreateHouse
1.CreateDynamicCP > Save Pos i in it to when i exit be in Last Pos
2.CreateDynamicCP> Exit And Goto Last Pos
Please Help Me i Want Know it
1.i want one interior
interior
PHP код:

Pos
PHP код:
271.884979,306.631988,999.148437 
2.DynamicCP Exit With This Pos
PHP код:
269.2042,304.8026,999.1484 
Please Help Me +Rep
Reply
#2

Please just use ******, there's lots of tutorials, anyways i found a tutorial for you that might be what you're looking for.
https://sampforum.blast.hk/showthread.php?tid=287541
Reply
#3

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
Please just use ******, there's lots of tutorials, anyways i found a tutorial for you that might be what you're looking for.
https://sampforum.blast.hk/showthread.php?tid=287541
im dont use SII / i use y_ini
i want know how to make it
i dont need much somthings in it to can i know what i do in my script and can update it to good
i want it simple to know fast
still need help please
Reply
#4

Guys Help me to know please ?
+rep
Reply
#5

Quote:
Originally Posted by astanalol
Посмотреть сообщение
Hello Guys
i Want Know How To Make House CMD:CreateHouse
1.CreateDynamicCP > Save Pos i in it to when i exit be in Last Pos
2.CreateDynamicCP> Exit And Goto Last Pos
Please Help Me i Want Know it
1.i want one interior
interior
PHP код:

Pos
PHP код:
271.884979,306.631988,999.148437 
2.DynamicCP Exit With This Pos
PHP код:
269.2042,304.8026,999.1484 
Please Help Me +Rep
Please Guys Help +Rep
Reply
#6

You gotta start from basic scripts there are plenty of them in the tut section, no one will spoon feed you. Making this cmd doesn't take a long while tho if you put some effort.
Reply
#7

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
You gotta start from basic scripts there are plenty of them in the tut section, no one will spoon feed you. Making this cmd doesn't take a long while tho if you put some effort.
i want know only
when player exit back to his pos ?
idk how to make it
like any house system FS
i want know how to made exit pos when i create the dynamic house
Reply
#8

Quote:
Originally Posted by astanalol
Посмотреть сообщение
i want know only
when player exit back to his pos ?
idk how to make it
like any house system FS
i want know how to made exit pos when i create the dynamic house
This is one basic script which saves before teleport to the interior and loads back the old location

pawn Код:
new Float:currentp[MAX_PLAYERS][4]; //top of the script (which saves the player current pos)

//saving the player pos before theleporting to the interior
GetPlayerPos(playerid,currentp[playerid][0],currentp[playerid][1],currentp[playerid][2]); // save x,y and z for this player.
GetPlayerFacingAngle(playerid,currentp[playerid][3]);
//teleport the player inside the house
SetPlayerPos(playerid, HouseInfo[houseid][HouseiX], HouseInfo[houseid][HouseiY], HouseInfo[houseid][HouseiZ]);
SetPlayerInterior(playerid, HouseInfo[houseid][Housei]);
       

//This must be the exit cmd
SetPlayerPos(playerid, currentp[playerid][0],currentp[playerid][1],currentp[playerid][2]);
SetPlayerInterior(playerid, 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)