[Ajuda] Funзхes da nova versгo do samp.
#9

pawn Код:
new bool: capacete[MAX_PLAYERS];
pawn Код:
if (strcmp("/capacete", cmdtext, true, 10) == 0)
{
    if (capacete[playerid] == false)
    {
        SetPlayerAttachedObject(playerid, 3, 18645, 2, 0.082900, 0.031548, -0.003276, 92.868537, 75.858642, 354.852478, 1.000000, 1.000000, 1.000000);
        capacete[playerid] = true;
    }

    if (capacete[playerid] == true)
    {
        RemovePlayerAttachedObject(playerid, 3);
        capacete[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)