Рекомендованные сообщения



5 posts in this topic

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

@archiboy6 весь код

Share this post


Link to post
Share on other sites

TogglePlayerControllable(playerid, false);

Share this post


Link to post
Share on other sites

@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

@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