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



Ammunation - FireCat - 04.07.2011

I have this OnPlayerConnect
pawn Код:
SetPlayerShopName(playerid,"AMMUN1");
SetPlayerShopName(playerid,"AMMUN2");
SetPlayerShopName(playerid,"AMMUN3");
SetPlayerShopName(playerid,"AMMUN4");
But still the cp and the bot doesn't appear in any!


Re: Ammunation - Fj0rtizFredde - 04.07.2011

I think you have to use it when the player teleports to a shop.
See here for an example: https://sampwiki.blast.hk/wiki/SetPlayerShopName


Re: Ammunation - FireCat - 04.07.2011

Yeah but in case im using when he enters in that yellow arrow. I don't have the DisableInteriorEnterExit or sumthin...


Re: Ammunation - Fj0rtizFredde - 04.07.2011

Then I guess you could just the OnPlayerInteriorChange callback.


Re: Ammunation - FireCat - 04.07.2011

Quote:
Originally Posted by Fj0rtizFredde
Посмотреть сообщение
Then I guess you could just the OnPlayerInteriorChange callback.
I did, the interior is 1, i tried If(newinterior == 1) SetPlayerShopName..
Still doesn't appear