[HELP]/buy command
#1


This is mine server [.:†:. Los Santos Stories RPG .:†:.©]


http://forum.sa-mp.com/attachment.ph...1&d=1425615201
When i use /buy command a list of items pop up it making my server non roleplay, if you're not in a 24/7 store
I want a Server to say "You're not at a 24/7 store".


But if you are in a 24/7 store, the server will say "Welcome to the 24//7 store /buy" How can i do that.

Can i PLZ! get an example how to do or something....
Reply
#2

Show me the command which you enter the 24/7 with and the /buy command.
Reply
#3

You can use OnPlayerInteriorChange()
here is for example :
Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	if(newinteriorid == changethis) //change to your 24/7 interior ID
	{
		SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the 24/7 store /buy");
	}
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)