Need Help.
#1

Hello!
If a player used a command ,Then that particular player weapon should reset.I mean disarm.
Can anybody give me code?
pawn Код:
if (strcmp("/tele", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, X, Y, Z);
        //Here disarm code
        return 1;
    }
Reply
#2

you mean ResetPlayerWeapons(playerid); ?
Reply
#3

yes it is
Reply
#4

nvm i got it
Reply
#5

Код:
if (strcmp("/tele", cmdtext, true, 10) == 0)    
{        
                 SetPlayerPos(playerid, X, Y, Z);        
                  ResetPlayerWeapons(playerid);        
return 1;    
}
Reply
#6

ok ty
Reply
#7

IRON! You're welcome.
Reply
#8

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
Hello!
If a player used a command ,Then that particular player weapon should reset.I mean disarm.
Can anybody give me code?
pawn Код:
if (strcmp("/tele", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, X, Y, Z);
        //Here disarm code
        return 1;
    }
https://sampwiki.blast.hk/wiki/ResetPlayerWeapons
https://sampwiki.blast.hk/wiki/ResetPlayerWeaponsEx

Read the info in the link's for future reference.

@ Davz*|*Criss: Still trolling away are you ? lolz.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)