Jump to content
  • 0

pomoc /dotaz - amx


tomas150

Dotaz

Recommended Posts

  • 0

a tu složku server_složka to mám kde vzít?


C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(65) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(66) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(68) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(83) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(85) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(94) : error 017: undefined symbol "tolower"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(96) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(96) : error 017: undefined symbol "format"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(97) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(98) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(102) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMPDesktop\CentrParba.eu\pawno\include\zcmd.inc(104) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(108) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\include\zcmd.inc(110) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "strlen"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "SendClientMessage"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 017: undefined symbol "String"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : warning 215: expression has no effect
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 001: expected token: ";", but found "]"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : fatal error 107: too many error messages on one line
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
19 Errors.

Prosim SkiBig18 dal bys mi to do amx mně to prostě nejde prosim


Errory


Skibig dal bys mi to prosim do amx mně to prostě nejde prosim

Link to comment
Share on other sites

  • 0

Kamaráde, radí ti tady jak jen to jde, co jsem si to četl, tak ti poradily až tak že to není hezké, to je jak vysvětlovat kvantovou fyziku někomu kdo měl s fyziky za 5.Pokud v tom Pawn neumíš, tak začni s něčím jednoduchým třeba překládat texty, stáhni si nějaký mód,script a překládej ho a pak mačkej klávesu F5, a pokud budeš začínat od těch menších věcí, až po ty nejsložitější tak se to naučíš, ale tohle to opravdu nikam nevede.A nebo si někoho najdi kdo ti pomůže osobně,

  • Líbí se mi to! (+1) 2
Link to comment
Share on other sites

  • 0

Ale ja chci tenhle dotaz to nikdo neumí poradit že mi to prostě nejde ani mi nepomužete že mi pošlete třeba pawno s includama to jste až takový kdyby tu byli nějaci kteřy bi to dali do amx a poslali ale to nikdo z vás není 


Bud radši ticho

Link to comment
Share on other sites

  • 0

A zase... proč by ti to měl pořád dávat v .amx? Udělej si to sám, když ti to nepůjde, pročti si všechny odpovědi na tenhle topic.

 

//EDIT: Jinak gratuluji. Jsi další člověk, co udělal z totální kraviny ŽHAVÉ TÉMA.

  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

  • 0

Fajn, mas nekolik moznosti.

1. Opravit si chyby.

2. Vykaslat se na tento script a jit se opravdu ucit programovani

3. Vykaslat se na tento script a jit hrat nejakou stupidni hru, kterou dokazes pochopit.

Link to comment
Share on other sites

  • 0

Tak a teď řeknu něco ja kdo by mi z vás poslal návod nato pitomé zcmd to asi nikdo že? řikate tu takové věci ale nikdo z vás neposlal návod jak dat do pawna zcmd to asi nikdo že? ale že tady to tu pišete ale nikdo to neposlal.


Tak dal jsem do pawno - include - zcmd.inc dal jsem do do složky pawno pak do složky include a pak jsem to zkusil compilovat a errory

 

 

 

C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(65) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(66) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(68) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(83) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(85) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(94) : error 017: undefined symbol "tolower"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : error 017: undefined symbol "format"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(97) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(98) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(102) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(104) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(108) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(110) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "strlen"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "SendClientMessage"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 017: undefined symbol "String"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : warning 215: expression has no effect
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 001: expected token: ";", but found "]"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : fatal error 107: too many error messages on one line
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
19 Errors.

Link to comment
Share on other sites

  • 0

A vubec nikdo ti nepsal kam vlozit includ. Vubec ti Tedy, Arci a buh vi kolik lidi pred nima nepsali ze si pridat tento radek.

#include <zcmd>

 

Procti si konplet tema, mas tam co a jak udelat..

Link to comment
Share on other sites

  • 0

Ukaz mi jak to tam mas zapsane. Jestli to tam mas spravne, tak ti na to reknu, ze nemas SOUBOR zcmd.inc ve slozce includes, ktera je u pawna

Edited by Lukasz
Link to comment
Share on other sites

  • 0

 

 

#include <zcmd>
 
CMD:dotaz(playerid, params[]) {
 
if (!strlen(params)) return SendClientMessage(playerid, -1, "[  !  ] Použi: /dotaz [ OTÁZKA ] !");
new
Nick[MAX_PLAYER_NAME+1],
String[145];
GetPlayerName(playerid, Nick, MAX_PLAYER_NAME+1);
format(String, sizeof(String), "Dotaz od %s: %s", Nick, params);
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) {
 
if(IsPlayerConnected(i) && Player[AdminLevel] >= 1) {
 
SendClientMessage(i, 0xFF000000, String);
}
}
SendClientMessage(playerid, -1, "[  !  ] Administrátor je zaneprážnění člověk odpoved na váš dotaz nemusí přijít hned!");
return 1;
}
 
CMD:odpoved(playerid, params[]) {
 
new
pIDName,
pOdpoved[136];
if (Player[playerid][AdminLevel] < 2) return SendClientMessage(playerid, -1, "[ ! ] Nemáte Administrátorská pravá!");
if (sscanf(params, "us[136]", pIDName, pOdpoved)) return SendClientMessage(playerid, -1, "[ ! ] Použití: /odpoved [iD/Jméno hráče] [ODPOVĚD]");
if (pIDName == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[ ! ] Hráč zo zadaným ID nieje na serveri !");
if (strlen(pOdpoved) > 136) return SendClientMessage(playerid, -1, "[ ! ] Moc dlouhá odpověd !");
new
Nick[MAX_PLAYER_NAME+1],
String[145];
GetPlayerName(playerid, Nick, MAX_PLAYER_NAME+1);
format(String, sizeof(String), "Admin %s vám odpovídá: %s", Nick, pOdpoved);
SendClientMessage(pIDName, -1, String);
return 1;
}

Link to comment
Share on other sites

  • 0

~> Do server_složka\pawno\include (ne prosimtě server_složka\include). Pak si otevřeš ten .pwn soubor a na horu zapíšeš:

 

#include <zcmd.inc>
abys ho mohl nahrál.

 

 

Jo ale ja mám server přes hosting takže žadnou složku server_složka nemám pawno mám na ploše a ješte něco hele a nemužete mi poslat vaše include nebo celé pawno?

Link to comment
Share on other sites

  • 0

Tak stahnul jsem jsi dal jsem na plochu a error 

 

C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(1) : fatal error 100: cannot read from file: "zcmd"
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
1 Error.

Link to comment
Share on other sites

  • 0

Tak dal jsem do složky zcmd.inc a errory

 

 

C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(65) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(66) : error 017: undefined symbol "funcidx"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(68) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(83) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(85) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(94) : error 017: undefined symbol "tolower"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : error 017: undefined symbol "format"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(97) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(98) : warning 217: loose indentation
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(102) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(104) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(108) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\pawno\include\zcmd.inc(110) : error 017: undefined symbol "CallLocalFunction"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "strlen"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(4) : error 017: undefined symbol "SendClientMessage"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : warning 217: loose indentation
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(6) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 017: undefined symbol "String"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : warning 215: expression has no effect
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 001: expected token: ";", but found "]"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotaz.pwn(7) : fatal error 107: too many error messages on one line
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
19 Errors.

Link to comment
Share on other sites

  • 0

Errory

 

 

 

 

C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotazy.pwn(14) : error 017: undefined symbol "Player"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotazy.pwn(14) : warning 215: expression has no effect
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotazy.pwn(14) : error 001: expected token: ";", but found "]"
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotazy.pwn(14) : error 029: invalid expression, assumed zero
C:\Users\SAMP\Desktop\CentrParba.eu\pawno\dotazy.pwn(14) : fatal error 107: too many error messages on one line
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
4 Errors.

Edited by tomas150
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...