06.11.2016, 18:28
Quote:
Add this somewhere in your script:
Код:
ClearChatbox(playerid) { for (new i; i <= 50; i++) SendClientMessage(playerid, -1, ""); } |
./includes/NGG-Script.pwn(6957) : error 017: undefined symbol "ClearChatBox"
Код:
forward Tutorijal(playerid, learnid); public Tutorijal(playerid, learnid) { if(IsPlayerConnected(playerid)) { if(learnid == 1) { TextDrawShowForPlayer(playerid, box1); TextDrawShowForPlayer(playerid, rpg1); PlayAudioStreamForPlayer(playerid, "http://mp3.zing.vn/download/song/Vo-Yeu-DJ-ATM-Remix-Khac-Anh/ZGJmyLHsSxXVhZitLFJyDnkH"); ClearChatBox(playerid); SetPlayerPos(playerid, 1532.972290, -1698.301757, -44.034240); TogglePlayerControllable(playerid, 0); InterpolateCameraPos(playerid, 1532.972290, -1698.301757, 44.034240, 1453.464111, -1717.509643, 33.114265, 15000); InterpolateCameraLookAt(playerid, 1531.764038, -1702.866455, 42.389961, 1456.435913, -1721.471191, 32.425376, 15000);
Код:
else if(learnid == 11) { ClearChatBox(playerid); SetCameraBehindPlayer(playerid); TextDrawHideForPlayer(playerid, Texts[10]); TextDrawHideForPlayer(playerid, box1); TextDrawHideForPlayer(playerid, rpg1); SendClientMessageEx(playerid, COLOR_WHITE, "(NGG:RP): Neu ban can tro giup , hay go~ ({FF0000}/newb{FFFFFF})"); SendClientMessageEx(playerid, COLOR_WHITE, "(NGG:RP): Ban da nhan duoc 10,000$ khi da xem huong dan."); GivePlayerCash(playerid, 10000); SetPlayerPos(playerid, -2424.9272,518.1115,29.9297); TogglePlayerControllable(playerid, 1); } } return 1; }