Jump to content

error 029: invalid expression, assumed zero


Malborrrro

Recommended Posts

(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) {

Link to comment
Share on other sites

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 by zNx[]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.