How to add a vip locker and vip lounge in HORIZON ROLEPLAY
#1

How to add i think i spent 2 hours for making but none of them worked please help me !
Reply
#2

Could you please post your current code?
Reply
#3

Код:
	// Removal of hell hole (VIP Lounge)
	CreateDynamicObject(5397, 1782.96, -1563.40, 20.57,   0.00, 0.00, -4.00);
	CreateDynamicObject(3623, 1756.68, -1578.90, 16.63,   0.00, 0.00, 171.00);
	CreateDynamicObject(9946, 1777.26, -1581.90, 12.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(9946, 1787.87, -1555.69, 12.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(1557, 1781.43, -1564.99, 12.29,   0.00, 0.00, -4.00);
	CreateDynamicObject(1557, 1784.42, -1565.20, 12.29,   0.00, 0.00, 176.00);
	CreateDynamicObject(6057, 1766.17, -1540.20, 13.28,   0.00, 0.00, 180.00);
	CreateDynamicObject(6057, 1798.54, -1541.37, 13.24,   0.00, 0.00, 178.00);
	CreateDynamicObject(9339, 1765.43, -1593.55, 12.08,   0.00, 0.00, 84.00);
	CreateDynamicObject(3660, 1773.95, -1593.39, 14.19,   0.00, 0.00, -4.00);
	CreateDynamicObject(18766, 1821.13, -1537.24, 17.44,   90.00, 0.00, 73.00);
	CreateDynamicObject(18766, 1819.97, -1540.89, 17.44,   90.00, 0.00, 73.00);
	CreateDynamicObject(3623, 1761.02, -1551.50, 16.63,   0.00, 0.00, 171.00);
	/* Temporary tombstone joke
	CreateDynamicObject(5777, 1767.33, -1578.64, 12.99,   0.00, 0.00, -11.00);
	CreateDynamicObject(325, 1767.82, -1578.75, 12.53,   0.00, 76.00, 91.00);
	CreateDynamicObject(325, 1767.73, -1578.79, 12.57,   0.00, 76.00, 271.00);
	CreateDynamicObject(1080, 1767.38, -1579.73, 12.85,   0.00, -25.00, 295.00);
	CreateDynamicObject(971, 1766.63, -1578.56, 12.47,   0.00, 0.00, 80.00);
	CreateDynamic3DTextLabel("Here lays gates, gold rims\nand outrageous advantages\nMay they all rest in HELL",COLOR_BLACK,1767.881835, -1578.757446, 13.347187+0.1,6.0);*/
That is the pickup but i will change the place and for your question i don't know how eeh ?
Reply
#4

Well. You're trying to add the object? You'll need to find a suitable map editor, and create it that way.

If you're trying to create a locker command, such as /locker then let me know.

I recommend using MTA Map Editor to map. Various tutorials on ******.
Reply
#5

Any links of MTA Map editor ?
Reply
#6

Ranger i'am trying to make a /locker cmd for vip please help me +rep if u help me
Reply
#7

Well. You'll need to get the location of the locker, via /save. Once you have the location you need to detect if a player is in range of it.

Here's a very BASIC locker cmd to help you get started.

pawn Код:
CMD:locker(playerid, params[])
{
    if(!IsPlayerInRangeOfPoint(playerid, 3.0, X Y Z)) return SendClientMessage(playerid,-1, "Error: You're not near the locker."); //seeing if a player is in range of x, y, z. If not, send the message.
    if(PlayerInfo[playerid][pVip] > 1) //Checking to see if their a vip.
    {
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Locker", "Option 1", "Select", "Cancel"); //showing the locker menu.
    }
    return 1;
}
Here's MTA. http://www.mtasa.com
Reply
#8

Ranger what i don't know how to script
can u put
Vip Heal
Vip Armor
Then Weapons
show another dialog
Spas-12
Sniper
etc...
can u do that to me ?
Reply
#9

You'd like it in the weapon dialog? If so, I'd need to see your save save information such as PlayerInfo[playerid][pVip].

And just a tip. If you're looking to begin a server, I'd recommend you take the time to learn the pawn language. The sa-mp wiki is a very good source.

If you're still needing me to do it for you, I'd need your teamviewer credentials via private message.
Reply
#10

Ranger see your inbox now pm sent hope you help me
Reply
#11

Another problem ranger can you please solved this! ?


I got this error if i start my server

*** Streamer Plugin: Include file version (0x26104) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file)

can someone help me ?
Reply
#12

PLEASE ALL WHO CAN HELP ME FEEEL FREE TO COMMENT BELOW
Reply
#13

BUMP!
Reply
#14

BUMP!
Reply
#15

BUMP BUMP BUMP!

Download the latest streamer here below

streamer

Place them to correct folder.

recompile your GM/FS that is using <streamer>
Reply
#16

I'll try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)