Jump to content

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Posted Image Posted Image

Guest Message by DevFuse
 

Photo

Problem z pluginem UNDEFINED SYMBOLProszę o pomoc

pomoc amxx plugin amx

  • You cannot start a new topic
  • Please log in to reply
3 replies to this topic

#1 rostek

    Nowy

  • Użytkownik

Reputacja: -3
Nowy

  • Postów:5
  • Lokalizacja:Elbląg
Offline

Posted 03.08.2014 09:56

Witam otóż to , mam pewien mały problem z komplikacją pluginu błędy jakie wyskakują:
 

obramowanie.sma(12) : error 017: undefined symbol "Create_Line"
obramowanie.sma(13) : warning 203: symbol is never used: "ent"
obramowanie.sma(18) : error 017: undefined symbol "pev"
obramowanie.sma(18) : warning 215: expression has no effect
obramowanie.sma(18) : error 001: expected token: ";", but found ")"
obramowanie.sma(18) : error 029: invalid expression, assumed zero
obramowanie.sma(18) : fatal error 107: too many error messages on one line
 
Compilation aborted.
5 Errors.

A o to cały kod sma proszę o pomoc :

_Create_Line(ent, Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2)
{
	new Float:start[3];
	start[0] = x1;
	start[1] = y1;
	start[2] = z1;
	
	new Float:stop[3];
	stop[0] = x2;
	stop[1] = y2;
	stop[2] = z2;
	Create_Line(ent, start, stop);
}

public SetLines(ent)
{	
	new Float:fMins[3], Float:fMaxs[3];
	pev(ent, pev_absmin, fMins);
	pev(ent, pev_absmax, fMaxs);
	
	_Create_Line( ent, fMaxs[0], fMaxs[1], fMaxs[2], fMaxs[0], fMaxs[1], fMins[2] );
	_Create_Line( ent, fMins[0], fMaxs[1], fMaxs[2], fMins[0], fMaxs[1], fMins[2] );
	_Create_Line( ent, fMaxs[0], fMins[1], fMaxs[2], fMaxs[0], fMins[1], fMins[2] );
	_Create_Line( ent, fMins[0], fMins[1], fMaxs[2], fMins[0], fMins[1], fMins[2] );
	
	_Create_Line( ent, fMaxs[0], fMaxs[1], fMaxs[2], fMins[0], fMaxs[1], fMaxs[2] );
	_Create_Line( ent, fMaxs[0], fMaxs[1], fMins[2], fMins[0], fMaxs[1], fMins[2] );
	_Create_Line( ent, fMaxs[0], fMins[1], fMaxs[2], fMins[0], fMins[1], fMaxs[2] );
	_Create_Line( ent, fMaxs[0], fMins[1], fMins[2], fMins[0], fMins[1], fMins[2] );
	
	_Create_Line( ent, fMaxs[0], fMaxs[1], fMaxs[2], fMaxs[0], fMins[1], fMaxs[2] );
	_Create_Line( ent, fMins[0], fMaxs[1], fMaxs[2], fMins[0], fMins[1], fMaxs[2] );
	_Create_Line( ent, fMaxs[0], fMaxs[1], fMins[2], fMaxs[0], fMins[1], fMins[2] );
	_Create_Line( ent, fMins[0], fMaxs[1], fMins[2], fMins[0], fMins[1], fMins[2] );
}

 


  • +
  • -
  • 0

#2 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2,077
Godlike

  • Postów:5,706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Posted 04.08.2014 07:24


Create_Line(ent, start, stop);

 

brakuje tej funkcji.


  • +
  • -
  • 0

#3 rostek

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: -3
Nowy

  • Postów:5
  • Lokalizacja:Elbląg
Offline

Posted 04.08.2014 10:40

Pomógł by ktoś dopisać mi tą funkcje ?


Edited by rostek, 04.08.2014 10:47.

  • +
  • -
  • 0

#4 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6,557
Godlike

  • Postów:11,988
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Posted 04.08.2014 12:54

Pokaż cały kod , i co ta funkcja ma robić dokładnie


  • +
  • -
  • 0





Also tagged with one or more of these keywords: pomoc, amxx, plugin, amx

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users