weapon spawn
#1

Friends again i need your help actually i want to know still i havent added any admin system i will add later.but ny queries is that when player spawn after connecting to server then it have many weapons i want to disable all weapons.i want only in dm zones.can anyone have an idea how weapons can be disabled?
Reply
#2

https://sampwiki.blast.hk/wiki/ResetPlayerWeapons

Here's a script that removes his weapons when he spawns:
pawn Код:
public OnPlayerSpawn(playerid)
{
    ResetPlayerWeapons(playerid);
    return 1;
}
Reply
#3

Any cmd? Or any codes
Reply
#4

Just use this function where-ever you want.
pawn Код:
ResetPlayerWeapons(playerid);
It'll remove his weapons.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)