SA-MP Forums Archive
how to make any shop ? - 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: how to make any shop ? (/showthread.php?tid=535325)



how to make any shop ? - Torbiiny612 - 03.09.2014

Hello
I need Someone to help me how to make a shop in cnr gamemode.
Thx For Reading.



Re: how to make any shop ? - rymax99 - 03.09.2014

What kind of shop? You need to provide details to get any kind of help, and perhaps a valid attempt at trying to create it.


Re: how to make any shop ? - 5194Hercules - 03.09.2014

What shop ?


Re: how to make any shop ? - Torbiiny612 - 03.09.2014

24/7 or any shop


Re: how to make any shop ? - AdHaM612 - 03.09.2014

You can create a Map Icon.

pawn Код:
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style);
iconid
style

Then, You can create a pickup at the entrance of the shop.

Then, You can use
pawn Код:
SetPlayerPos(playerid,x,y,z);
and take the X,Y and Z from the mapped interior of a shop. (After you map it of course)

Then, You can create a checkpoint at the shop counter or something, where you can rob the shop or you can buy items from it.


Re: how to make any shop ? - Torbiiny612 - 04.09.2014

Thank You Adham for helping.