SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

 
 
Thread Tools Display Modes
Old 01/02/2014, 02:35 PM   #1
joke95
Little Clucker
 
Join Date: Jan 2014
Posts: 40
Reputation: 1
Question (82) : error 033: array must be indexed (variable "cmdtext")

Am o problema..
acesta este scriptul:

pawn Code:
forward OnPlayerCommandText(playerid, cmdtext[]);
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext + 4, "start", true, 5) && ((!(cmdtext + 24) && functionD24(playerid, 6988)) || (cmdtext + 24 == 32 && functionD24(playerid, cmdtext + 28))))
    {
        return 1;
    }
    if(!strcmp(cmdtext + 4, "incarca", true, 8) && ((!(cmdtext + 36) && functionFA4(playerid, 7024)) || (cmdtext + 36 == 32 && functionFA4(playerid, cmdtext + 40))))
    {
        return 1;
    }
    if(!strcmp(cmdtext + 4, "basis", true, 5) && ((!(cmdtext + 24) && functionA84(playerid, 7052)) || (cmdtext + 24 == 32 && functionA84(playerid, cmdtext + 28))))
    {
        return 1;
    }
    if(!strcmp(cmdtext + 4, "abholort", true, 8) && ((!(cmdtext + 36) && functionBD4(playerid, 7092)) || (cmdtext + 36 == 32 && functionBD4(playerid, cmdtext + 40))))
    {
        return 1;
    }
    return 0;
}

pawn Code:
(82) : error 033: array must be indexed (variable "cmdtext")
(86) : error 033: array must be indexed (variable "cmdtext")
(90) : error 033: array must be indexed (variable "cmdtext")
(94) : error 033: array must be indexed (variable "cmdtext")

nu mai stiu ce sa ii afc,m-am chinuit o zi... am rezolvat multe alte erori si buguri,dar astea nu am reusit... Vreo solutie?
joke95 is offline  
Old 01/02/2014, 03:06 PM   #2
[NoV]LaZ
High-roller
 
Join Date: May 2008
Posts: 1,417
Reputation: 90
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

Quote:
Originally Posted by joke95 View Post
Vreo solutie?
Nu folosi deAMX. Dacă īţi scrii propriul tău cod, vei īnţelege mult mai bine.
__________________

Thank you for playing!

It is back online! 176.31.69.249:7799
[NoV]LaZ is offline  
Old 01/02/2014, 03:09 PM   #3
joke95
Little Clucker
 
Join Date: Jan 2014
Posts: 40
Reputation: 1
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

stiu asta.. vreau sa zic , acel scripta avut o reclama, vreau sa scot reclama, nu schimb autori ... doar reclama,am scoso, dar nu se compileaza am rezolvat multe erori,dar asta ..am facut par alb
joke95 is offline  
Old 01/02/2014, 03:13 PM   #4
[NoV]LaZ
High-roller
 
Join Date: May 2008
Posts: 1,417
Reputation: 90
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

Quote:
Originally Posted by joke95 View Post
stiu asta.. vreau sa zic , acel scripta avut o reclama, vreau sa scot reclama, nu schimb autori ... doar reclama,am scoso, dar nu se compileaza am rezolvat multe erori,dar asta ..am facut par alb
Nu ai precizat nimic īn legătură cu asta, dar ai īncercat să modifici codul sursă? E destul de grav dacă nu-l ai.

http://forum.sa-mp.com/forumdisplay.php?f=71
Ai putea īncerca să cauţi acolo gamemode-uri asemănătoare cu al tău.
__________________

Thank you for playing!

It is back online! 176.31.69.249:7799
[NoV]LaZ is offline  
Old 01/02/2014, 03:18 PM   #5
joke95
Little Clucker
 
Join Date: Jan 2014
Posts: 40
Reputation: 1
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

este un filescript, vreau sa stiu doar unde este gresit mai sus, atat.

am codul sursa,eu in acel cod am umblat,nu am folosit deamx.. am incercat sa il recompilez fara sa umblu in el,si dadea 26 erori .. mai multe.. le-am rezolvat,au mai rams doar alea 4 .. nu stiu ce sa le fac..
joke95 is offline  
Old 01/02/2014, 04:28 PM   #6
joke95
Little Clucker
 
Join Date: Jan 2014
Posts: 40
Reputation: 1
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

nimeni nu stie ? scuzati dblu post,am postat sa atrag atentia...
joke95 is offline  
Old 01/02/2014, 05:03 PM   #7
DiGiTaL_AnGeL
High-roller
 
DiGiTaL_AnGeL's Avatar
 
Join Date: Aug 2012
Location: Romānia
Posts: 1,923
Reputation: 104
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

Quote:
Originally Posted by joke95 View Post
nimeni nu stie ? scuzati dblu post,am postat sa atrag atentia...
Vezi ca faci OFF Topic
__________________

DiGiTaL_AnGeL is offline  
Old 01/02/2014, 06:20 PM   #8
joke95
Little Clucker
 
Join Date: Jan 2014
Posts: 40
Reputation: 1
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

ma mai ajuta cineva?
joke95 is offline  
Old 01/02/2014, 06:45 PM   #9
InfiniTy.
High-roller
 
InfiniTy.'s Avatar
 
Join Date: Oct 2012
Location: Romania,Galați
Posts: 1,251
Reputation: 119
Default Re: (82) : error 033: array must be indexed (variable "cmdtext")

Comenzile alea nu fac sens deloc pentru ca sunt dintr-un script luat cu deamx..cu ce ai vrea sa te ajutam ?
InfiniTy. is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Got an error 033: array must be indexed (variable "-unknown-") BlackID Scripting Help 0 03/08/2012 06:38 AM
[ajuda] error 033: array must be indexed (variable "TaxiMission") adminlucas Portuguźs/Portuguese 4 11/11/2011 12:36 AM
Help Checkpoint & error 033: array must be indexed (variable "tmp") KyleOwnzYou Help Archive 2 08/05/2010 04:10 AM
error 033: array must be indexed (variable "cheaterr") Dj_maryo1993 Help Archive 2 29/07/2009 11:38 AM


All times are GMT. The time now is 07:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.