SA-MP Forums Archive
Help me please? - 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: Help me please? (/showthread.php?tid=139542)



Help me please? - justinkomnuga - 05.04.2010

I have a gun for my players amry an infrared glasses but I also get players to put the other team but I just want to see that the players of Team 1 can see and how you configure the. I have an infrared goggles and I want to have that right when I login, how do I do that


Re: Help me please? - aircombat - 05.04.2010

Under OnPlayerSpawn :

Код:
GivePlayerWeapon(playerid,weaponid);
for weapons ids : https://sampwiki.blast.hk/wiki/Weapons


Re: Help me please? - justinkomnuga - 05.04.2010

Quote:
Originally Posted by [AC
Etch ]
Under OnPlayerSpawn :

Код:
GivePlayerWeapon(playerid,weaponid);
for weapons ids : https://sampwiki.blast.hk/wiki/Weapons
yes it is equal to when I login or not? and where do I enter that code


Re: Help me please? - aircombat - 05.04.2010

i already told u : Under : OnPlayerSpawn


Re: Help me please? - justinkomnuga - 05.04.2010

Quote:
Originally Posted by [AC
Etch ]
i already told u : Under : OnPlayerSpawn
I have no place to insert only weapon spawn id and player id


Re: Help me please? - biltong - 05.04.2010

The infrared glasses don't work properly in SA:MP, when one player uses them EVERYONE uses them.


Re: Help me please? - justinkomnuga - 05.04.2010

Quote:
Originally Posted by biltong
The infrared glasses don't work properly in SA:MP, when one player uses them EVERYONE uses them.
my server is that everyone gets it right only to see it done hey maybe you can change


Re: Help me please? - biltong - 05.04.2010

Everyone will get them, but if one player wants to take them off while another player keeps his/hers on, that player will still have the effect of the infrared glasses. Look at the note at the bottom of the weaponid wiki page.