Hi - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hi (
/showthread.php?tid=330170)
Hi -
oscar7610 - 31.03.2012
Im new at scripting but im managing to keep adding vehicles to my server, etc..
I need some help if you guys can help me out please.
I need something a FS or anything that I can open a shop like 24/7 with a white/yellow arrow in front of the door so
people can access inside. Please help me thanks.
Re: Hi -
.FuneraL. - 31.03.2012
Quote:
Originally Posted by oscar7610
Im new at scripting but im managing to keep adding vehicles to my server, etc..
I need some help if you guys can help me out please.
I need something a FS or anything that I can open a shop like 24/7 with a white/yellow arrow in front of the door so
people can access inside. Please help me thanks.
|
https://sampwiki.blast.hk/wiki/AddStaticVehicle
https://sampwiki.blast.hk/wiki/AddStaticVehicleEx
Re: Hi -
Randyy - 31.03.2012
Hello, Oscar you just need to go to "Search" And searching for Business System or something or look at some tutorials for making one yoursellf than you will learn more scripting
Re: Hi -
[ABK]Antonio - 31.03.2012
pawn Код:
new StoreOne;
public OnGameModeInit()
{
StoreOne = CreatePickup(1318, 1, Float:X, Float:Y, Float:Z, 0) //The X Y and Z positions you can fill out yourself
return 1;
}
// 1318 is a white arrow pointing down
Here's what happens when they pick it up
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch(pickupid)
{
case StoreOne:
{
//Set their pos & interior.
}
}
return 1;
}
https://sampwiki.blast.hk/wiki/CreatePickup
Re: Hi -
oscar7610 - 01.04.2012
Hey thank you guys im trying to learn more.
Im a noob
Re: Hi -
oscar7610 - 01.04.2012
anyone pleasE? like I need to know how Can i open a shop with an arrow outside so people can enter it thanks.