SetPlayerShopName
#1

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

Same problem here.

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

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...
Reply
#4

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

good information
Reply
#6

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?
Reply
#7

Hi,

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)