SetPlayerChatBubble Help. | +rep
#1

First thank you to the ones that respond and help(: Much appreciated.

Код:
PGRP.pwn(21407) : error 017: undefined symbol "ChatDeath"
PGRP.pwn(21407) : error 017: undefined symbol "ChatDeath"
PGRP.pwn(21407) : error 029: invalid expression, assumed zero
PGRP.pwn(21407) : fatal error 107: too many error messages on one line
Код:
			}

21407			format(ChatDeath, sizeof(ChatDeath), "You have died, you must wait 120 seconds before accepting death.", string);
			SetPlayerChatBubble(playerid,ChatDeath,COLOR_YELLOW,15.0,5000);
			SetTimerEx("DeathTimer", 1200, 0, "ii", playerid);
			GameTextForPlayer(playerid, "~r~Brutally Wounded", 5000, 3);
			ClearAnimations(playerid);
			ApplyAnimation(playerid, "KNIFE", "KILL_Knife_Ped_Damage", 4.0, 0, 1, 1, 1, 0, 1);
			TogglePlayerControllable(playerid, 0);
Reply
#2

You didn't define it
PHP код:
new ChatDeath[128]; 
Reply
#3

use this"
pawn Код:
new ChatDeath[128];
format(ChatDeath, sizeof(ChatDeath), "You have died, you must wait 120 seconds before accepting death.", ChatDeath);
            SetPlayerChatBubble(playerid,ChatDeath,COLOR_YELLOW,15.0,5000);
            SetTimerEx("DeathTimer", 1200, 0, "ii", playerid);
            GameTextForPlayer(playerid, "~r~Brutally Wounded", 5000, 3);
            ClearAnimations(playerid);
            ApplyAnimation(playerid, "KNIFE", "KILL_Knife_Ped_Damage", 4.0, 0, 1, 1, 1, 0, 1);
            TogglePlayerControllable(playerid, 0);
Reply
#4

also the player that died wont see that chat bubble
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)