Question

D:\GHEKA\Ìîäû\AVRP\gamemodes\stel.pwn(16523) : error 017: undefined symbol "TogglePlayerContollable"


TogglePlayerContollable(playerid, false);

 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

@Remmi_Feed 

public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
    if(GetPlayerWeapon(playerid) == 23)
    {
    if(GetPVarInt(damagedid, "freeze") == 0)
    {
        new Float:health;
        GetPlayerHealth(damagedid, health);
        ClearAnimations(damagedid);

        SCM(damagedid, -1, "(( OOC: Â âàñ ïîïàëè tazer'îì. Âû çàìîðîæåíû íà 10 ñåêóíä! ))");
        TogglePlayerContollable(playerid, false);
      	SetPVarInt(playerid, "freeze", 1);
        SetTimerEx("UnfreezePlayer", 10000, false, "d", damagedid);
        SetPlayerHealth(damagedid, health+amount);
    }
}
	return 1;
}

 

Share this post


Link to post
Share on other sites
  • 0

@archiboy6 решение скинул вторым постом темы. Замени свою строку на ту. которую я тебе дал

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • kekkomomek1941
      By kekkomomek1941
      Всем привет, вот ошибки, понятия не имею как их исправить, кто может - помогите пожалуйста
      arizona.pwn(92829) : error 001: expected token: ";", but found ":"
      arizona.pwn(92829) : error 029: invalid expression, assumed zero
      arizona.pwn(92799) : error 002: only a single statement (or expression) can follow each "case"
      arizona.pwn(92829) : error 014: invalid statement; not in switch
      arizona.pwn(92829) : fatal error 107: too many error messages on one line
      Вот все строчки с ошибками