XxM4st3rxX 3 Odesláno: 2. Červenec, 2010 Share Odesláno: 2. Červenec, 2010 error 012: invalid function call, not a valid address uz my to hadze iba jeden eror ale skusim to opravit ale vela warningov warning 203: symbol is never used: "dcmd_admin" warning 203: symbol is never used: "dcmd_admins" warning 203: symbol is never used: "dcmd_clearchat" warning 203: symbol is never used: "dcmd_gw" warning 203: symbol is never used: "dcmd_script" warning 203: symbol is never used: "dcmd_setadmin" warning 203: symbol is never used: "dcmd_setlevel" Link to comment Share on other sites More sharing options...
MajkX 16 Odesláno: 6. Červenec, 2010 Share Odesláno: 6. Červenec, 2010 nj pozeral som si to pwn co si mi poslal , a tam nieje oznaceny zaciatok...alebo ked , tak by som to skusil este urobit tym klasickim sposobom nie cez DCMD.... Link to comment Share on other sites More sharing options...
Guest Odesláno: 6. Červenec, 2010 Share Odesláno: 6. Červenec, 2010 _PaTN_[sVK]":3j1mux2u]error 012: invalid function call, not a valid address uz my to hadze iba jeden eror ale skusim to opravit ale vela warningov warning 203: symbol is never used: "dcmd_admin" warning 203: symbol is never used: "dcmd_admins" warning 203: symbol is never used: "dcmd_clearchat" warning 203: symbol is never used: "dcmd_gw" warning 203: symbol is never used: "dcmd_script" warning 203: symbol is never used: "dcmd_setadmin" warning 203: symbol is never used: "dcmd_setlevel" nikde si nedal dcmd(setlevel,8,cmdtext); atd.... Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 29. Září, 2010 Share Odesláno: 29. Září, 2010 staci ked das ukladanie do disconectu a do loginu zas nacitanie nemusi tam byt savelvl Link to comment Share on other sites More sharing options...
_Killer_ 1 Odesláno: 29. Září, 2010 Share Odesláno: 29. Září, 2010 staci ked das ukladanie do disconectu a do loginu zas nacitanie nemusi tam byt savelvl a co keby si mu to visvetlil ? poriadne alebo aj napisal Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 29. Září, 2010 Share Odesláno: 29. Září, 2010 ak mas dini tak do disconectu si das : dini_IntSet(file, "lvl",AdminLevel[playerid]); a do loginu: AdminLevel[playerid] = dini_Int(file, "lvl"); ak mas dudb/dutils tak disconect: dUserSetINT(PlayerName(playerid)).("lvl",AdminLevel[playerid]); a login: AdminLevel[playerid] = dUserINT(PlayerName(playerid)).("lvl"); dini/dudb/dutils = includy ktore mas k registracii lvl = to ako to bude ulozene v hracovom subore v scriptfiles AdminLevel = premenna ktoru ukladame\nacitavame to je vsetko Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 30. Září, 2010 Share Odesláno: 30. Září, 2010 ak mas dudb/dutils Ten razor vas zblbnul k te registraci je jen dudb! Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 30. Září, 2010 Share Odesláno: 30. Září, 2010 ak mas dudb/dutils Ten razor vas zblbnul k te registraci je jen dudb! myslim ze to je jedno pochopil ide mu to a to je hlavne Link to comment Share on other sites More sharing options...
MajkX 16 Odesláno: 5. Říjen, 2010 Share Odesláno: 5. Říjen, 2010 hmmm s tym si lamem hlavu 240) : error 017: undefined symbol "chrfind" riadok 240 : if(!params[0]||!(pos=chrfind(' ',params)+1)||!params[pos]) return SendClientMessage(playerid, COLOR_GREEN, " ! POUŽITIE: /Setlevel [ ID ] [ LVL ]"); Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 5. Říjen, 2010 Share Odesláno: 5. Říjen, 2010 chrfind(n,h[],s=0) { new l=strlen(h); while(s{ if(h[s]==n) return s;s++; } return -1; } Link to comment Share on other sites More sharing options...
MajkX 16 Odesláno: 5. Říjen, 2010 Share Odesláno: 5. Říjen, 2010 zachranca Davidek dakujem ti ( o5 ) Link to comment Share on other sites More sharing options...
Guest Odesláno: 5. Říjen, 2010 Share Odesláno: 5. Říjen, 2010 s tym si lamem hlavu kebyže niesi kokos tak si nelámeš hlavu... search.php?keywords=chrfind&terms=all&author=&fid[]=3&sc=1&sf=all&sk=t&sd=d&sr=topics&st=0&ch=300&t=0&submit=Hledat tu všade sa chrfind vyskytuje a tam všade je aj definícia... Link to comment Share on other sites More sharing options...
Do-M-iNa-T-or 0 Odesláno: 17. Listopad, 2010 Share Odesláno: 17. Listopad, 2010 "help" pls jak bych mel dat aby se mi automaticky psaly např tipy předem dik "help" Link to comment Share on other sites More sharing options...
Roox 1 Odesláno: 17. Listopad, 2010 Share Odesláno: 17. Listopad, 2010 Udělej si timer. forward Timer(); SetTimer("Timer", 360000, 1); A do toho timeru si napiš nějaké tipy. public Timer() { new Rand = random(2); switch(Rand) { case 0: SendClientMessageToAll(0xFFFFFFAA, "Tip 1"); case 1: SendClientMessageToAll(0xFFFFFFAA, "Tip 2"); default: SendClientMessageToAll(0xFFFFFFAA, "Defaultní tip"); } return 1; } Link to comment Share on other sites More sharing options...
Do-M-iNa-T-or 0 Odesláno: 18. Listopad, 2010 Share Odesláno: 18. Listopad, 2010 moc dik :rap2: Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 ludia viem že je toto starší topik ale mám error C:\Users\Danny\Desktop\pawn\kupalisko.pwn(825) : error 017: undefined symbol "Jmeno" neviete preco? btw jak ho opravit btw tusim ze to je stock stock Jmeno a dal nwm Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 ludia viem že je toto starší topik ale mám error C:\Users\Danny\Desktop\pawn\kupalisko.pwn(825) : error 017: undefined symbol "Jmeno" neviete preco? btw jak ho opravit btw tusim ze to je stock stock Jmeno a dal nwm To si prej pawner :D si to prepis na PlayerName ne? popř. stock Jmeno(playerid) { new name[24]; GetPlayerName(playerid, name, sizeof(name)); return name; } Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 este C:\Users\Danny\Desktop\pawn\kupalisko.pwn(20) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS") C:\Users\Danny\Desktop\pawn\kupalisko.pwn(893) : error 017: undefined symbol "MAX_PLAYERS_EX" C:\Users\Danny\Desktop\pawn\kupalisko.pwn(955) : error 017: undefined symbol "MAX_PLAYERS_EX" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. to som sem vtedy napísal myslel som si že ked to napíšem ten Jmeno že už to pôjde tak ešte toto riadky 20 = #define MAX_PLAYERS 32 893 = for(new i=0;i<=MAX_PLAYERS_EX;i++) 955 = for(new i;i Link to comment Share on other sites More sharing options...
Ivo Král 0 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 este C:\Users\Danny\Desktop\pawn\kupalisko.pwn(20) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS") C:\Users\Danny\Desktop\pawn\kupalisko.pwn(893) : error 017: undefined symbol "MAX_PLAYERS_EX" C:\Users\Danny\Desktop\pawn\kupalisko.pwn(955) : error 017: undefined symbol "MAX_PLAYERS_EX" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. to som sem vtedy napísal myslel som si že ked to napíšem ten Jmeno že už to pôjde tak ešte toto riadky 20 = #define MAX_PLAYERS 32 893 = for(new i=0;i<=MAX_PLAYERS_EX;i++) 955 = for(new i;i A to jsi "skoro profik" ..... smutné..... #define MAX_PLAYERS 32 předělej na #define MAX_PLAYERS_EX 32 Link to comment Share on other sites More sharing options...
Danny 37 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 dostals mě nemozny Link to comment Share on other sites More sharing options...
Emppu 2 Odesláno: 14. Leden, 2011 Share Odesláno: 14. Leden, 2011 Omlouvam se moderatorum a uzivatelum, ze pisi do tak stareho tematu ale mam chyby: C:\Documents and Settings\anton\Dokumenty\0.5 test.pwn(2398) : error 017: undefined symbol "playerid" C:\Documents and Settings\anton\Dokumenty\0.5 test.pwn(2405) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. Řádky: public AntiCheat() { for(new i;i{ if(GetPlayerSpecialAction(i) == 2){ new string[256]; format(string, sizeof(string), "[ANTICHEAT]: Hráč(ka) %s byl(a) kicknut(a) [ Důvod: JetPack ]",PlayerName(playerid)); SendClientMessageToAll(COLOR_GREEN, string); Kick(i); return 0; } if(GetPlayerWeapon(i) == 38){ new string[256]; format(string, sizeof(string), "[ANTICHEAT]: Hráč(ka) %s byl(a) kicknut(a) [ Důvod: Minigun ]",PlayerName(playerid)); SendClientMessageToAll(COLOR_GREEN, string); Kick(i); return 0; } new playername[MAX_PLAYER_NAME], string[256]; GetPlayerName(i, playername, sizeof(playername)); new Float:heal; GetPlayerHealth(i, heal); if(heal > 100){ if(IsPlayerConnected(i)) { format(string, 256, "[ANTICHEAT]: Hráč(ka) %s [ ID:%d ] byl(a) kicknut(a) [ Důvod: God Mode ]"); SendClientMessageToAll(COLOR_GREEN, string); Kick(i); } } GetPlayerName(i, playername, sizeof(playername)); if(GetPlayerMoney(i) >= 9999999999) if(IsPlayerConnected(i)) { format(string, 256, "[ANTICHEAT]: Hráč(ka) %s [ ID:%d ] byl(a) Kicknuta [ Důvod: MoneyCheat ]"); SendClientMessageToAll(COLOR_GREEN, string); } } return 1; } Skoušel jsem do publicu přidat do závorek playeid public AntiCheat(playerid) ale potom to zase hodilo error C:\Documents and Settings\anton\Dokumenty\0.5 test.pwn(2392) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Díky za každou pomoc Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 14. Leden, 2011 Share Odesláno: 14. Leden, 2011 přepiš playerid na i To je tak těžký? Link to comment Share on other sites More sharing options...
Emppu 2 Odesláno: 14. Leden, 2011 Share Odesláno: 14. Leden, 2011 přepiš playerid na i To je tak těžký? Aha sorry asi sem fakt blbej. Každopádně moc díky! Link to comment Share on other sites More sharing options...
Duch 0 Odesláno: 28. Únor, 2011 Share Odesláno: 28. Únor, 2011 Cawte poradte mi pls mam nastaveny prikaz /ginfo kde sa ma vypisat anozv verzia a autor vsetko je ok ale na servery mi vypysuje bludy. v pwn mam verzia 1 a na servery napise 49 pls kde mam chybu ? new version[] = "1.0"; // verze scriptunew tvurce[] = "Duch"; // tvurce new adminscriptname[] = "Ghost Adminscript"; // Název new datum[] = "26.2.2011"; //datum tvorby např: 17.2.2010 ... Pouze čísla! dcmd_ginfo(playerid, params[]){ #pragma unused params // nepoužijeme Params new string[128]; // definice stringu SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]================================="); //odešle zprávu format(string, sizeof(string), "Název Adminscriptu: %s",adminscriptname); SendClientMessage(playerid, GREEN, string); // odešle nazev admin scriptu format(string, sizeof(string), "Verze: %d | Tvůrce: %s",version,tvurce); SendClientMessage(playerid, GREEN, string); // odešle tvurce a verzy format(string, sizeof(string), "Datum tvorby: %d",datum); SendClientMessage(playerid, GREEN, string); // odešle datum SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]=================================");//odešle zprávu return 1; // ukončení podmínky } Link to comment Share on other sites More sharing options...
NurofeN-Cz 0 Odesláno: 28. Únor, 2011 Share Odesláno: 28. Únor, 2011 Cawte poradte mi pls mam nastaveny prikaz /ginfo kde sa ma vypisat anozv verzia a autor vsetko je ok ale na servery mi vypysuje bludy. v pwn mam verzia 1 a na servery napise 49 pls kde mam chybu ?new version[] = "1.0"; // verze scriptunew tvurce[] = "Duch"; // tvurce new adminscriptname[] = "Ghost Adminscript"; // Název new datum[] = "26.2.2011"; //datum tvorby např: 17.2.2010 ... Pouze čísla! dcmd_ginfo(playerid, params[]){ #pragma unused params // nepoužijeme Params new string[128]; // definice stringu SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]================================="); //odešle zprávu format(string, sizeof(string), "Název Adminscriptu: %s",adminscriptname); SendClientMessage(playerid, GREEN, string); // odešle nazev admin scriptu format(string, sizeof(string), "Verze: %d | Tvůrce: %s",version,tvurce); SendClientMessage(playerid, GREEN, string); // odešle tvurce a verzy format(string, sizeof(string), "Datum tvorby: %d",datum); SendClientMessage(playerid, GREEN, string); // odešle datum SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]=================================");//odešle zprávu return 1; // ukončení podmínky } xD #define version "1.0" #define tvurce "Duch" #define adminscriptname "Ghost Adminscript" #define datum "26.2.2011" dcmd_ginfo(playerid, params[]) { #pragma unused params // nepoužijeme Params new string[128]; // definice stringu SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]================================="); //odešle zprávu format(string, sizeof(string), "Název Adminscriptu: %s",adminscriptname); SendClientMessage(playerid, GREEN, string); // odešle nazev admin scriptu format(string, sizeof(string), "Verze: %d | Tvůrce: %s",version,tvurce); SendClientMessage(playerid, GREEN, string); // odešle tvurce a verzy format(string, sizeof(string), "Datum tvorby: %d",datum); SendClientMessage(playerid, GREEN, string); // odešle datum SendClientMessage(playerid, GREEN,"=================================[ Ghost 1.0 ]=================================");//odešle zprávu return 1; // ukončení podmínky } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now