[POMOC] Errori!


Započeo ANDRIJAâ„¢, April 16, 2012, 19:43:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:BU R2
Detaljan opis problema: Zdravo raja evo mene opet :D ... Pitanje: imam errore na istim linijama na istu komandu e sad je pitanje sta je greska kod komande!??
Dio skripte:
if(strcmp(cmd, "/stan", true) == 0) //by: Salvatore (Opsta komanda)

2x
}
    if(strcmp(text, "putmoney", true) == 0) // stavljanje novca 
    {

Error!
(229) : error 010: invalid function or declaration
(230) : error 010: invalid function or declaration

Neke slike/video za lakse dobivanje pomoci(neobavezno): //

Cijelu komandu molim?
Aequam memento rebus in arduis servare mentem.

Eve ga;:  :D

//======================[CMD]==============================

	if(strcmp(cmd, "/stan", true) == 0) //by: Salvatore (Opsta komanda)
{
    new text[48]; new novac;
    if(sscanf(params, "s[48]i",text , novac))
    {
        SendClientMessage(playerid, BELA, "Uputstvo: /stan info | lock | takemoney [kolicina] | putmoney [kolicina]");
        return 1;
    }
    if(strcmp(text,"info",true) == 0) // info o stanu
    {
    	for(new i = 0; i < sizeof(StanInfo); i++)
		{
	    	new string[500];
    		if(IsPlayerInRangeOfPoint(playerid, 10,StanInfo[i][sIzlaZx], StanInfo[i][sIzlaZy], StanInfo[i][sIzlaZz]) && strcmp(StanInfo[i][sVlasnik], imeigraca, false ) == 0)
			{
		    	SendClientMessage(playerid, ZUTA, "|========================================|");
				if(StanInfo[i][sZakljucan] == 1)
				{
					SendClientMessage(playerid, BELA, "Zakljucan: Da");
				}
				if(StanInfo[i][sZakljucan] == 0)
				{
					SendClientMessage(playerid, BELA, "Zakljucan: Ne");
				}
				format(string, sizeof(string), "Novac u sefu: %d $", StanInfo[i][sNovac]);
				SendClientMessage(playerid, BELA, string);
				format(string, sizeof(string), "Vrednost stana: %d $", StanInfo[i][sCena]);
				SendClientMessage(playerid, BELA, string);
				SendClientMessage(playerid, ZUTA, "|========================================|");
				return 1;
			}
		}
		return 1;
	}

if(strcmp(params,"info",true) == 0) // info o stanu
Aequam memento rebus in arduis servare mentem.

Razumio : "info" stavim svoje? :D   :-\

[EDIT] NERADI  :'( :'( Opet isto Error :(
Poslednja Izmena: April 16, 2012, 19:56:57 POSLE PODNE od Adnan Lord

Razumio : "info" stavim svoje?


To info samo napisi Stan na prodaju.
Valjda pokusaj ako ne javi mi se.
prst prst u cupi,prst prst u anus