[POMOC]Lideri

Započeo F![L]!P, Avgust 15, 2012, 23:34:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:DWRP
Detaljan opis problema: Pa kako mozam da napravam lideri na serverot? ako moze da mi pomognete
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):



I ako mozete da mi ja popravite komandava

ERORI:
D:\SA-MP\gamemodes\DWRPG1.pwn(264) : error 017: undefined symbol "cmd"
D:\SA-MP\gamemodes\DWRPG1.pwn(270) : error 017: undefined symbol "Haulba"
D:\SA-MP\gamemodes\DWRPG1.pwn(270) : warning 215: expression has no effect
D:\SA-MP\gamemodes\DWRPG1.pwn(270) : error 001: expected token: ";", but found "]"
D:\SA-MP\gamemodes\DWRPG1.pwn(270) : error 029: invalid expression, assumed zero
D:\SA-MP\gamemodes\DWRPG1.pwn(270) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


CMD

if(strcmp(cmd,"/haulba", true) == 0)
        {
        if(IsPlayerInAnyVehicle(playerid))
        {
          if(IsPlayerConnected(playerid))
          {
        if(Haulba[playerid] == 0)
        {
                GetPlayerNameEx(playerid, sendername, sizeof(sendername));
                        format(string, sizeof(string), "%s ja otvara Haulbata.", sendername);
                        ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                SendClientMessage(playerid, WHITE, "{37F906}INFO:{FFFFFF}Ja otvorivte Haulbata.");
                SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,VEHICLE_PARAMS_ON,boot,objective);
                Haulba[playerid] = 1;
                return 1;
        }
                else
                {
              GetPlayerNameEx(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s ja zatvara Haulbata.", sendername);
                  ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
              SendClientMessage(playerid, WHITE, "{37F906}INFO:{FFFFFF}Ja zatvorivte Haulbata.");
              SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,VEHICLE_PARAMS_OFF,boot,objective);
              Haulba[playerid] = 0;
              return 1;
        }
          }
         }
         return 1;
        }
F![L]!P 550


Majke mi ne kontam te nista kako ces napraviti samo lidera za cega lidera mozda hoces org napraviti imas u ovom tutu
http://balkan-samp.com/forum/index.php?topic=17696.0 valjda ce pomoci

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