[Pomoc]Erori

Započeo MEDO, Mart 03, 2013, 18:25:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: NL
Detaljan opis problema: E ovako napravio sam komandu /granica1 i baca mi nekakve errore
Dio skripte:
Komanda
CMD:granica1(playerid, params[])
{
         new hIme[MAX_PLAYER_NAME];
         RPIme(playerid, hIme);
         if(IsPlayerInRangeOfPoint(playerid, 25.0, 1695.9254,-487.9079,33.5305))
{
             if(PI[playerid][Novac] < 100) return SCM(playerid, GRAD2, "*Nemas dovoljno para(100$)");
{
if(PI[playerid][Pasos] != 1) return SCM(playerid, CRVENA, "NenoAC|Nemas pasos odi ga kreiraj u vijecnicu");
{
   NovacMinus(playerid, 100);
   MayorInfo[1][Budzet] += 100;
   MoveDynamicObject(granica1kapija, 1705.90242145,-478.79789322,33.2000008, 2.5);
   MoveDynamicObject(granica1kapija2, 1696.8000488,-480.7000122,33.0999985, 2.5);
   return 1;
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
errori
C:\Users\Desktop\\\gamemodes\B.pwn(81288) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\\\gamemodes\B.pwn(81288) : error 017: undefined symbol "cmd_otvori"
C:\Users\\Desktop\\\gamemodes\B.pwn(81288) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\\\gamemodes\B.pwn(81288) : fatal error 107: too many error messages on one line


linija 81288
CMD:otvori(playerid, params[])

znaci do ove moje komande je sto sam dao kad maknem komandu sve je u redu

"They have computers, and they may have other weapons of mass destruction."

imas nesto pametnije reci osim toga cijeli NL mod je na zcmd ima tonu komandi kazalo bi za sve jednu

"They have computers, and they may have other weapons of mass destruction."

LOL pa veci imam to reko sam ti ako nemas sta pametnije reci lijepo otidi iz teme

"They have computers, and they may have other weapons of mass destruction."

Ti mislis da sam tolko glup
#include < a_samp >
#include < streamer >
#include < zcmd >
#include < morphinc >
#include < sscanf2 >
#include <      regex           >
#include <      a_stari_mysql         >
#include <      D_Ikone         >
#include <      mapandreas      >
#include <      foreach         >
//#include < audio >
#include <mailer>


e da si procitao sve ovo sto sam napisao gore mozda bi nesto svatio
kad smaknem komandu radi sve BEZ ERRORA

"They have computers, and they may have other weapons of mass destruction."

isto opet errori isti

"They have computers, and they may have other weapons of mass destruction."

bice opet isti errori i dodat jos koji warrning, pogledaj sta si ti uradio   :'(

"They have computers, and they may have other weapons of mass destruction."

Ovako:

COMMMAND:granica1(playerid, params[])
{
new hIme[MAX_PLAYER_NAME];
    RPIme(playerid, hIme);
    if(IsPlayerInRangeOfPoint(playerid, 25.0, 1695.9254,-487.9079,33.5305)) return SendClientMessage(playerid, 1, "MoraÅ¡ biti kod granice");
if(PI[playerid][Novac] < 100) return SCM(playerid, GRAD2, "*Nemas dovoljno para(100$)");
if(PI[playerid][Pasos] != 1) return SCM(playerid, CRVENA, "NenoAC|Nemas pasos odi ga kreiraj u vijecnicu");
{
NovacMinus(playerid, 100);
MayorInfo[1][Budzet] += 100;
MoveDynamicObject(granica1kapija, 1705.90242145,-478.79789322,33.2000008, 2.5);
MoveDynamicObject(granica1kapija2, 1696.8000488,-480.7000122,33.0999985, 2.5);
}
return 1;
}
BIG RESPEKT: Blaeks,  [CRP] Joey_, David (Sabljak) A.k.A SABO(T), joXy_, Dimi, Sexserghy ♥, TerminuS, H1TM4N