Jump to content

Question

Posted

[pawn]CMD:hitsound(playerid,params[])

{

    if(AccInfo[playerid][pVip] > 7)

    {

        SendClientMessage(playerid,0xFF0000FF, "Ding On Shot acctivated");

        OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid);

        new issuerid;

        PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);

        PlayerPlaySound(playerid,17802,0.0,0.0,0.0);

        return 1;

    }

    else return SendClientMessage(playerid, red, "ERROR: You must be VIP Level 10 to use this command!");

}

[/pawn]

LuxAdminRSE.pwn(2032) : error 004: function "OnPlayerGiveDamage" is not implemented

rezolvat, trebuia facut un define si cateva variabile

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.