Guest Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 btw nemusíš Link to comment Share on other sites More sharing options...
Guest Punkevník Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 Prečo píšete do starého téma !!!!!!! a ešte aj OT! Link to comment Share on other sites More sharing options...
NurofeN-Cz 0 Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 Prečo píšete do starého téma !!!!!!! a ešte aj OT! Co kdybys drzel hubu? Tohle je tutorial.. QWER, a jak ho oznacim jako nezamestnaneho? (Kdyz se pripoji) Link to comment Share on other sites More sharing options...
Guest Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 ak si dobre pametám tak po pripojení je premenná pre hráča vždy 0 takže ked dáš #define nezamestnanyfas 0 tak nemusíš dávať do onplayerconnect povolani[playerid] = nezamestnany; alebo povolani[playerid] = 0; Link to comment Share on other sites More sharing options...
NurofeN-Cz 0 Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 ak si dobre pametám tak po pripojení je premenná pre hráča vždy 0 takže ked dáš#define nezamestnanyfas 0 tak nemusíš dávať do onplayerconnect povolani[playerid] = nezamestnany; alebo povolani[playerid] = 0; Ok, ok diky myslel sem si.. mel jsem to tak, jen jsem cekal na potvrzeni od skusenneho pawnera. Link to comment Share on other sites More sharing options...
Guest Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 Ale nezabudni do onplayerdisconnect dať premena[playerid] = 0; lebo ak to tam nedáš tak ten čo sa pripojí dostane id čo mal predchádzajúci, a toto je že je premena podľa playerid nie nicku takže on dostane tú premenu od predchádzajucého hráča kapiš ? Link to comment Share on other sites More sharing options...
NurofeN-Cz 0 Odesláno: 3. Říjen, 2010 Share Odesláno: 3. Říjen, 2010 Ale nezabudni do onplayerdisconnect dať premena[playerid] = 0; lebo ak to tam nedáš tak ten čo sa pripojí dostane id čo mal predchádzajúci, a toto je že je premena podľa playerid nie nicku takže on dostane tú premenu od predchádzajucého hráča kapiš ? Jj.. ja to mam stejne ze se mu povolani uklada, a kdyz se logne nacte se mu jeho xD Link to comment Share on other sites More sharing options...
Guest warilock Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 Pls poradite me pise me to chyby: D:\Documents and Settings\Linas System\Plocha\@Warilock@\Mod\Mod\gamemodes\NewCity1.0.pwn(480) : error 017: undefined symbol "IsPlayerInSphere" D:\Documents and Settings\Linas System\Plocha\@Warilock@\Mod\Mod\gamemodes\NewCity1.0.pwn(480) : warning 215: expression has no effect D:\Documents and Settings\Linas System\Plocha\@Warilock@\Mod\Mod\gamemodes\NewCity1.0.pwn(480) : error 001: expected token: ";", but found ")" D:\Documents and Settings\Linas System\Plocha\@Warilock@\Mod\Mod\gamemodes\NewCity1.0.pwn(480) : error 029: invalid expression, assumed zero D:\Documents and Settings\Linas System\Plocha\@Warilock@\Mod\Mod\gamemodes\NewCity1.0.pwn(480) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 hore do modu #define IsPlayerInSphere(%0,%1,%2,%3,%4) IsPlayerInRangeOfPoint(%0,%4,%1,%2,%3) Link to comment Share on other sites More sharing options...
Guest warilock Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 Porad to pise ty same errory Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 urcite ti ostali v mode funkcie FS a ty si to rovno suupol do tej podmienky daj sem do spoileru vrch tvojho modu tj od riadku cislo 1 po ten riadok kde je ongamemodeinit Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 forward IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius); forward GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z); Někam do módu: public IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius) { if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius){ return 1; } return 0; } GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z) { new Float:x1,Float:y1,Float:z1; new Float:tmpdis; GetPlayerPos(playerid,x1,y1,z1); tmpdis = floatsqroot(floatpower(floatabs(floatsub(x,x1)), 2)+floatpower(floatabs(floatsub(y,y1)), 2)+floatpower(floatabs(floatsub(z,z1)),2)); return floatround(tmpdis); } Link to comment Share on other sites More sharing options...
Guest warilock Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 #include #define SCM SendClientMessage #include #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #define SYSTEM 0xEFEFF7AA #pragma tabsize 0; new bool:login[MAX_PLAYERS]; new job[MAX_PLAYERS]; new povolanipick; new Text:textdraw; #define IsPlayerInSphere(%0,%1,%2,%3,%4) IsPlayerInRangeOfPoint(%0,%4,%1,%2,%3) //Color Defines #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_RED 0xAA3333AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_BLUE 0x0000BBAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define GIVECASH_DELAY 5000 forward Givecashdelaytimer(playerid); main() { print("\n----------------------------------"); print(" New City vytvořil @Warilock@"); print("----------------------------------\n"); } Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 omg lopatka co je to za blbost prosimta ? staci jednoducho #define IsPlayerInSphere(%0,%1,%2,%3,%4) IsPlayerInRangeOfPoint(%0,%4,%1,%2,%3) Link to comment Share on other sites More sharing options...
Guest warilock Odesláno: 30. Listopad, 2010 Share Odesláno: 30. Listopad, 2010 Me to stejne nejde ani kdyz to definuju -- úte 30. lis 2010 19:56:53 -- Helpnete me nekdo este? "help" Link to comment Share on other sites More sharing options...
Donkey 0 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 Všetko mam v poho len mi ukazuje 2 errors \Users\dell_vostro_001\Desktop\StastneMesto.pwn(450) : error 017: undefined symbol "IsPlayerInSphere" C:\Users\dell_vostro_001\Desktop\StastneMesto.pwn(462) : error 030: compound statement not closed at the end of file (started at line 449) Riadky: 450 riadok : if(IsPlayerInSphere(playerid,1314,2683.4312,1373.1414,6.8951, 3) == 1){//když je v určitých souřadnicích, Doplnte si! "help" "help" :zachod: Link to comment Share on other sites More sharing options...
XxM4st3rxX 3 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 Všetko mam v poho len mi ukazuje 2 errors \Users\dell_vostro_001\Desktop\StastneMesto.pwn(450) : error 017: undefined symbol "IsPlayerInSphere" C:\Users\dell_vostro_001\Desktop\StastneMesto.pwn(462) : error 030: compound statement not closed at the end of file (started at line 449) Riadky: 450 riadok : if(IsPlayerInSphere(playerid,1314,2683.4312,1373.1414,6.8951, 3) == 1){//když je v určitých souřadnicích, Doplnte si! "help" "help" :zachod: error 1: nadefinuj si IsPlayerInSphere error 2: nwm Link to comment Share on other sites More sharing options...
Donkey 0 Odesláno: 17. Prosinec, 2010 Share Odesláno: 17. Prosinec, 2010 Všetko mam v poho len mi ukazuje 2 errors \Users\dell_vostro_001\Desktop\StastneMesto.pwn(450) : error 017: undefined symbol "IsPlayerInSphere" C:\Users\dell_vostro_001\Desktop\StastneMesto.pwn(462) : error 030: compound statement not closed at the end of file (started at line 449) Riadky: 450 riadok : if(IsPlayerInSphere(playerid,1314,2683.4312,1373.1414,6.8951, 3) == 1){//když je v určitých souřadnicích, Doplnte si! "help" "help" :zachod: error 1: nadefinuj si IsPlayerInSphere error 2: nwm Skusil som si to nadefinovat ae mi ta definacia pisala tiez error Link to comment Share on other sites More sharing options...
Gerechti 2 Odesláno: 22. Červen, 2011 Share Odesláno: 22. Červen, 2011 rád bych využil ale ..... neháže žádnou chybu nic,ale když jsem ve hře a chci se tím tlačítkem zaměstnat nic se neděje,souřadnice jsou dobře,ukáže mě to text co mám udělat abych se zaměstnal ale nic,poraďte pls díky Link to comment Share on other sites More sharing options...
Lemon 0 Odesláno: 1. Červenec, 2011 Share Odesláno: 1. Červenec, 2011 Prosím help vypisuje my to errory : G:\SF.pwn(400) : error 017: undefined symbol "povolanipick" G:\SF.pwn(518) : error 017: undefined symbol "povolanipick" G:\SF.pwn(519) : error 017: undefined symbol "SCM" G:\SF.pwn(561) : error 017: undefined symbol "IsPlayerInSphere" G:\SF.pwn(562) : error 017: undefined symbol "job" G:\SF.pwn(562) : error 001: expected token: ";", but found "]" G:\SF.pwn(562) : error 029: invalid expression, assumed zero G:\SF.pwn(562) : fatal error 107: too many error messages on one line riadky : riadok 400 povolanipick = CreatePickup(1314,1,2025.2333,67.1820,28.4321); // Doplnte si souřadnice riadok 518 if(1314 == povolanipick){ riadok 519 SCM(playerid,COLOR_RED,"Zamestnaj sa L.ALTom"); riadok 561 if(IsPlayerInSphere(playerid,2025.2333,67.1820,28.4321, 3) == 1){ riadok 562 if(job[playerid] == 1) return SendClientMessage(playerid, COLOR_GREEN, "[** ERROR **] Zde už jsi zaměstnán!"); Za skoru odpoveď Vopred Ďakujem Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 1. Červenec, 2011 Share Odesláno: 1. Červenec, 2011 Nemáš vytvořené proměnné, nemáš definici SCM, nemáš definici IsPlayerInSphere. Více tady... Link to comment Share on other sites More sharing options...
Lemon 0 Odesláno: 9. Červenec, 2011 Share Odesláno: 9. Červenec, 2011 Všetko my ide ale keď prídem k Pickupu tak my nenaskoci nic ze zamestnaj sa.... aj ked dam tlacitko na ktore mam povolanie tak my neide .. neviem prečo prosim help Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 9. Červenec, 2011 Share Odesláno: 9. Červenec, 2011 Všetko my ide ale keď prídem k Pickupu tak my nenaskoci nic ze zamestnaj sa.... aj ked dam tlacitko na ktore mam povolanie tak my neide .. neviem prečo prosim help pravdepodobne si nekde skonil id... Link to comment Share on other sites More sharing options...
Lemon 0 Odesláno: 9. Červenec, 2011 Share Odesláno: 9. Červenec, 2011 poslať ti mód? cez skype ? (kexik5) -- úte 12. črc 2011 15:43:21 -- Prosím help , všetko som do pawna dal ako má byť ani jeden error ani warning . Dám mod na server prídem k "pick" nenaskočí my nič : zamestnajte sa tlačítkom CTRL .... proste nič ... Link to comment Share on other sites More sharing options...
XXXKiller 0 Odesláno: 7. Únor, 2012 Share Odesláno: 7. Únor, 2012 Robim si povolania ukazka: forward IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius); forward IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius); forward GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z); C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(3) : error 017: undefined symbol "GetPlayerDistanceToPointEx" C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1) : warning 203: symbol is never used: "z" C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1) : warning 203: symbol is never used: "y" C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1) : warning 203: symbol is never used: "x" C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1) : warning 203: symbol is never used: "playerid" C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1323) : warning 209: function "OnPlayerKeyStateChange" should return a value C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(1323) : error 010: invalid function or declaration C:\Documents and Settings\spravca\Desktop\Všetko o gtaa\samp severr\gamemodes\CrazyCity.pwn(3) : error 004: function "GetPlayerDistanceToPointEx" is not implemented 1 Error. C:\Documents and Settings\kosar\My Documents\Untitled.pwn(192) : error 020: invalid symbol name "" C:\Documents and Settings\kosar\My Documents\Untitled.pwn(202) : warning 203: symbol is never used: "IsPlayerInSphere" Riadky: Riadok 20 chyba: } Riadok 203 chyba: tam nic neni Pls poradte kde je chyba (som novacik) :!: 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