Jump to content

Recommended Posts

Posted

Hai noroc ma baieti, incerc si eu sa fac un sistem de misiuni diferit.

 

 

Am o mica problema totusi, cateva erori pe care eu nu le stiu rezolva, adica nu-mi dau seama de la ce sunt.

 

 

 error 001: expected token: ";", but found "-identifier-"

 error 028: invalid subscript (not an array or too many subscripts): "MisiuneTerminataEsuataTimer"
 error 001: expected token: ";", but found "]"
 fatal error 107: too many error messages on one line
 
 

if(OwnerMisiune[playerid] == 1)
     {
           stop MisiuneTerminataEsuataTimer[playerid];    //  Aici apar erorile!
           SendClientMessage(playerid, -1, "{FF0000}[Misiune]: {FFFFFF}Esti prea aproape de ei, poti fi vazut, du-te mai departe.");
           SendClientMessage(playerid, -1, "{FF0000}[Misiune]: {FFFFFF}Ai 20 de secunde sa te indepartezi, altfel o sa pierzi misiunea.");
           MisiuneTerminataEsuataTimer[playerid] = defer MisiuneTerminataEsuata(playerid);

 
Posted (edited)
asta -> new MisiuneTerminataEsuataTimer[MAX_PLAYERS]; trebuie sa arate asa:
-> new Timer:MisiuneTerminataEsuataTimer[MAX_PLAYERS];

daca nici aia nu functioneaza sau deja ai asa, KillTimer ar trebuii sa mearga bine. Nu am lucrat cu y_timers, zic doar ce ar parea logic.

Edited by Un4m3d_Hokage
Posted
asta -> new MisiuneTerminataEsuataTimer[MAX_PLAYERS]; trebuie sa arate asa:
-> new Timer:MisiuneTerminataEsuataTimer[MAX_PLAYERS];

daca nici aia nu functioneaza sau deja ai asa, KillTimer ar trebuii sa mearga bine. Nu am lucrat cu y_timers, zic doar ce ar parea logic.

 

Am facut asta si imi da asta:

error 017: undefined symbol "ppb_OnGameModeInit"
 error 017: undefined symbol "ppb_OnGameModeExit"
 error 017: undefined symbol "AntiDeAMX"
Posted (edited)

Asa trebuie definita variabila MisiuneTerminataEsuataTimer

new Timer: MisiuneTerminataEsuataTimer[MAX_PLAYERS];

 

timer MisiuneTerminataEsuata[interval](playerid)
{ 
 // codul tau
 
}
Edited by RedGun

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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

By using this site, you agree to our Terms of Use. 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.

moduri samp