Jump to content

HORVENN

Membru
  • Posts

    41
  • Joined

  • Last visited

    Never

Posts posted by HORVENN

  1. Salutare, intampin niste probleme la compilare cand am adaugat niste functii in gamemode (dini_Get)

    ERORILE:

    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4119) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4120) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4121) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4122) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4123) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4124) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4125) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4126) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4127) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4128) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4129) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4130) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4131) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4132) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4133) : error 047: array sizes do not match, or destination array is too small
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4135) : error 033: array must be indexed (variable "Captured1")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4139) : error 033: array must be indexed (variable "Captured2")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4143) : error 033: array must be indexed (variable "Captured15")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4147) : error 033: array must be indexed (variable "Captured3")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4151) : error 033: array must be indexed (variable "Captured4")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4155) : error 033: array must be indexed (variable "Captured5")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4159) : error 033: array must be indexed (variable "Captured6")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4163) : error 033: array must be indexed (variable "Captured7")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4167) : error 033: array must be indexed (variable "Captured8")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4171) : error 033: array must be indexed (variable "Captured9")
    C:\Documents and Settings\Carnats\Desktop\server-rp.pwn(4175) : error 033: array must be indexed (variable "Captured10")
    
    Uitati si liniile respective:
    Captured1 = dini_Get("/Variables/Gang.ini", "CapturedBy1");
    Captured2 = dini_Get("/Variables/Gang.ini", "CapturedBy2");
    Captured3 = dini_Get("/Variables/Gang.ini", "CapturedBy3");
    Captured4 = dini_Get("/Variables/Gang.ini", "CapturedBy4");
    Captured5 = dini_Get("/Variables/Gang.ini", "CapturedBy5");
    Captured6 = dini_Get("/Variables/Gang.ini", "CapturedBy6");
    Captured7 = dini_Get("/Variables/Gang.ini", "CapturedBy7");
    Captured8 = dini_Get("/Variables/Gang.ini", "CapturedBy8");
    Captured9 = dini_Get("/Variables/Gang.ini", "CapturedBy9");
    Captured10 = dini_Get("/Variables/Gang.ini", "CapturedBy10");
    Captured11 = dini_Get("/Variables/Gang.ini", "CapturedBy11");
    Captured12 = dini_Get("/Variables/Gang.ini", "CapturedBy12");
    Captured13 = dini_Get("/Variables/Gang.ini", "CapturedBy13");
    Captured14 = dini_Get("/Variables/Gang.ini", "CapturedBy14");
    Captured15 = dini_Get("/Variables/Gang.ini", "CapturedBy15");
    si declaratiile "Captured":
    #define MAX_GANGS 15
    
    new Captured1[MAX_GANGS];
    new Captured2[MAX_GANGS];
    new Captured3[MAX_GANGS];
    new Captured4[MAX_GANGS];
    new Captured5[MAX_GANGS];
    new Captured6[MAX_GANGS];
    new Captured7[MAX_GANGS];
    new Captured8[MAX_GANGS];
    new Captured9[MAX_GANGS];
    new Captured10[MAX_GANGS];
    new Captured11[MAX_GANGS];
    new Captured12[MAX_GANGS];
    new Captured13[MAX_GANGS];
    new Captured14[MAX_GANGS];
    new Captured15[MAX_GANGS];

    Ce sa fac sa scap de erori? Va rog sa ma ajute cineva, multumesc.

  2. Salutare. Am creeat vreo 20 de gang zone dupa urmatorul tutorial: http://www.sa-mp.ro/forum/index.php/topic,5493.0.html , compilez, fara erori, dupa care cand pornesc serverul nu-mi mai deschide nimic din OnGameModeInit, adica masinile nu apar, pickup-urile, gang zone etc. de ce?

  3. Salutare. Am creat o comanda /war si daca sunt lider de mafie o pot folosi pentru a porni un war impotriva altei mafii, desigur cu acordul celuilalt lider, prin /accept war. In fine, dupa acest accept mafiile vor fi teleportate intr-o arena pentru a se lupta. (pana aici am creeat) Acum nu stiu cum sa fac cand nu mai ramane nici un player dintr-o anume mafie la war, sa se termine warul si sa anunte castigatorii. Defapt am facut o chestie la public onplayerdeath, am incercat sa fac ceva o verificare cand un player de la war moare, sa verifice cumva daca mai sunt playeri la war...dar n-am reusit pt ca ori dadea respawn la tot server, ori nu-i scotea pe toti de la war... va rog frumos sa ma ajutati...

    Si as mai avea o problema cu modul 0.3d, ma urmaresc obiectele :)). Am pus cel mai nou streamer, am compilat gamemode cu includele de la pawno 0.3d-R2 si nimic .... Multumesc anticipat.

  4. Salutare, am creeat o comanda /war pentur un war intre doua mafii si cand este acceptat acest war, toti membrii mafiei sunt dusi intr-o arena unde se va tine war-ul si nu stiu cum si unde sa pun cand toti membrii unei mafii mor celalata mafie sa castige si sa ii respawneze pe toti....nu stiu unde sa adaug aceasta functie...? Ma puteti ajuta?

×
×
  • 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.