SA-MP Forums Archive
SetPlayerShopName - 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: SetPlayerShopName (/showthread.php?tid=109965)



SetPlayerShopName - Kurence - 23.11.2009

Well. It works to deactivate ammu-nations and food shops. But activation didnt work! And clothes shops didnt work too. What is it?


Re: SetPlayerShopName - Littl3j0hNy - 07.02.2010

Same problem here.

Код:
SetPlayerShopName(playerid,"AMMUN5");
Does't work.


Re: SetPlayerShopName - ¤Adas¤ - 07.02.2010

Yeah, I have found this bug. If they will repair it, this function will be cool!
And it is not essential, if the shop name is "HEY, YOU!" or "A", it deactivates everything...


Re: SetPlayerShopName - dugi - 07.02.2010

There is a few different ammunation interiors so try some other ones than 5: https://sampwiki.blast.hk/wiki/ShopNames


Re: SetPlayerShopName - Onyx09 - 07.02.2010

good information


Re: SetPlayerShopName - WackoX - 07.02.2010

I tried to do this with other stores which arent in the list: https://sampwiki.blast.hk/wiki/ShopNames
I got them from the GTA SA sourche:

Quote:

"CARLS" // The Johnson House
"AMMUN1" // Ammu-Nation
"AMMUN2" // Ammu-Nation
"AMMUN3" // Ammu-Nation
"AMMUN4" // Ammu-Nation
"AMMUN5" // Ammu-Nation
"BARBERS" // Barber
"BARBER2" // Barber
"BARBER3" // Barber
"FDPIZA" // Pizza Stack
"FDCHICK" // Cluckin' Bell
"FDBURG" // Burger Shot
"TATTOO" // Tattoo Parlor
"CSCHP" // Binco
"CSSPRT" // Pro-Laps
"LACS1" // Sub Urban
"CLOTHGP" // Zip
"CSDESGN" // Victim
"CSEXL" // Didier Sachs
"GYM1" // Ganton Gym
"GYM2" // Cobra Marital Arts
"GYM3" // Below the Belt Gym
"PDOMES" // The Pleasure Domes
"PDOMES2" // The Pleasure Domes
"MADDOGS" // Madd Dogg's Crib
"MDDOGS" // Madd Dogg's Crib
"GANG" // Vagos Gang House
"RCPLAY" // Zero's RC Shop
"PAPER" // Planning Department
"ABATOIR" // Sindacco Abattoir
"LACRAK" // Crack Den
"POLICE1" // Unknown?
"POLICE2" // Unknown?
"POLICE3" // Unknown?
"POLICE4" // Unknown?

But they all don't work?
It this because a bug or just because they aren't yet defined in SA:MP?



Re: SetPlayerShopName - Littl3j0hNy - 07.02.2010

Hi,

Код:
SetPlayerShopName(playerid,"AMMUN3");
SetPlayerShopName(playerid,"AMMUN5");
Doesn't work but the other works

Код:
SetPlayerShopName(playerid,"AMMUN1");
SetPlayerShopName(playerid,"AMMUN2");
:: LJ


Re: SetPlayerShopName - ¤Adas¤ - 07.02.2010

SA-MP team made a mistake... I hope, they will make it work soon.