SA-MP Forums Archive
How to rob stores? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to rob stores? (/showthread.php?tid=71914)



How to rob stores? - killdahobo99 - 04.04.2009

How do i rob stores for my server? i've looked through so many pages on this forum and cant find a thing! please help me


Re: How to rob stores? - dre$tA - 04.04.2009

Obviously you need to script it.


Re: How to rob stores? - killdahobo99 - 04.04.2009

Quote:
Originally Posted by dre$tA
Obviously you need to script it.
Even a 2 year old could have told me that...honestly if you don't really know dont reply


Re: How to rob stores? - dre$tA - 04.04.2009

This is Scripting Discussion, you are not supposed to request full scripts here.

Edit: http://forum.sa-mp.com/index.php?topic=94387.0

Edit2: Do a rob command and some global variable that changes when you enter a store, so you can detect if player is in store and check it in the rob command and then just give money to player and maybe SendClientMessage(playerid, color, "Rob Succesful"); or something like that. But i guess you can't script for shit so this is useless. GivePlayerMoney(playerid, amount); to give money.


Re: How to rob stores? - killdahobo99 - 04.04.2009

Quote:
Originally Posted by dre$tA
This is Scripting Discussion, you are not supposed to request full scripts here.

Edit: http://forum.sa-mp.com/index.php?topic=94387.0

Edit2: Do a rob command and some variable that changes when you enter store, so you can detect if player is in store and check it in the rob command and then just give money to player and maybe SendClientMessage(playerid, color, "Rob Succesful"); or something like that. But i guess you can't script for shit so this is useless.
I'm not asking for a full script, im just asking like give me an example of a place to rob like give me a rob script just for say pizza in los santos and tell me where to place the code in my gamemode


Re: How to rob stores? - dre$tA - 04.04.2009

Just read www.wiki.sa-mp.com for scripting help.


Re: How to rob stores? - killdahobo99 - 04.04.2009

Quote:
Originally Posted by dre$tA
Just read www.wiki.sa-mp.com for scripting help.
Can someone actaully give me 1 script...for how to rob something just 1 of them so i can learn from it and add it


Re: How to rob stores? - Norn - 05.04.2009

Quote:
Originally Posted by killdahobo99
Quote:
Originally Posted by dre$tA
Just read www.wiki.sa-mp.com for scripting help.
Can someone actaully give me 1 script...for how to rob something just 1 of them so i can learn from it and add it
Post in the request thread or don't post at all, or atleast ATTEMPT to create it yourself.

We're not gonna spoonfeed you.