Malborrrro Posted December 6, 2022 Report Posted December 6, 2022 (53) : error 029: invalid expression, assumed zero (53) : error 029: invalid expression, assumed zero (53) : warning 215: expression has no effect (53) : error 001: expected token: ";", but found "]" (53) : fatal error 107: too many error messages on one line Linia 83: LINIA 52:hook OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { LINIA 53: if(specialQuest[playerid]) { LINIA 54: if(newkeys & KEY_YES) { Quote
zNx[] Posted December 6, 2022 Report Posted December 6, 2022 (edited) 4 hours ago, Catalinnz said: if(specialQuest[playerid]) { Nu poti verifica aceasta variabila cand jucatorul apasa Y, inainte ca aceasta sa apase tasta Y, dar cu toate aceastea e gresit, trebuie sa verifici specialquest[playerid], dar cu ce return? Adica ce se intampla dupa ce jucatorul apasa tasta Y, doar verifici ce? Un exemplu ar fi: hook OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_YES) { if(specialQuest[playerid]) return SendClientMessage(playerid, -1, "Esti pe drumul cel bun mai ai de colectat %s globuri", globuri(playerid)); Edited December 6, 2022 by zNx[] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.