Popular Post kudla188 8 Odesláno: 18. Květen, 2011 Popular Post Share Odesláno: 18. Květen, 2011 Co: Dělal sem si na server příkaz /opravauto a tak sem si řek že ho sem dám a tady ho máte! Download: 7 Link to comment Share on other sites More sharing options...
Guest Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 "lol" jsi nováček s pawnem že ? Jestli jo tak se to dá - 4/10 Link to comment Share on other sites More sharing options...
Lax. 28 Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 "lol" "lol" stačilo sem napísat do príkazu dajte [w]RepairVehicle[/w] Link to comment Share on other sites More sharing options...
booble1428 0 Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 Každý nějak začínal, ale todle je opravdu extrém 7/10 (netestoval jsem) - příště dej aspoň nějaký funkce navíc, jako třeba flip Link to comment Share on other sites More sharing options...
Atom 0 Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 je to omezeni casem ? treba ze to jde pouzit jen kazde 2 minuty? Link to comment Share on other sites More sharing options...
LYRIcS 88 Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 moje hodnotenie je: pre novacika: ak je to tvoj prvy vytvor tak 5/10, ak ne prvy ale zacinas v pawne: 1/10 (za snahu) pre pokrocileho: -1/10 (to -1 je zaporne cislo, ne pomlcka) toto ti napawnim za 2,5 minuty kamo to si tu rovno mohol dat aj PWN, predpokladam ze tam jedne je prikaz a ReapirVehicle(GetPlayerVehicleID(playerid)); a to je vsetko, ci sa mylim? (sry za to hodnotenie ale kazdy ma na to vlastny nazor ) Link to comment Share on other sites More sharing options...
Guest Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 toto ti napawnim za 2,5 minuty "lol" já bych to dal za 15 sekund Ale to je podle toho jak rychle píšeš A taky je to o znalostech Link to comment Share on other sites More sharing options...
Atom 0 Odesláno: 18. Květen, 2011 Share Odesláno: 18. Květen, 2011 Muze mi rposim nekdo udelat /opravauto ale stim ze to bude mcot pouzit jen kazdy 2 min? Link to comment Share on other sites More sharing options...
LYRIcS 88 Odesláno: 19. Květen, 2011 Share Odesláno: 19. Květen, 2011 Muze mi rposim nekdo udelat /opravauto ale stim ze to bude mcot pouzit jen kazdy 2 min? vytvor forward, premennu a SetTimerEx Link to comment Share on other sites More sharing options...
w.endelin 15 Odesláno: 20. Květen, 2011 Share Odesláno: 20. Květen, 2011 Tohle je FS? -10/10 --> pokud jsi zde nový ták 1/10 Link to comment Share on other sites More sharing options...
kudla188 8 Odesláno: 21. Květen, 2011 Author Share Odesláno: 21. Květen, 2011 Díky tohle je moje první pawno máte pravdu!!! -- sob 21. kvě 2011 7:34:35 -- je to omezeni casem ? treba ze to jde pouzit jen kazde 2 minuty? No podle toho jestli mas rze nebo jaky gamemod!! -- sob 21. kvě 2011 7:36:37 -- Každý nějak začínal, ale todle je opravdu extrém 7/10 (netestoval jsem) - příště dej aspoň nějaký funkce navíc, jako třeba flip Jojo to mě napadlo ale zatím sem neměl čas to udělat!! Link to comment Share on other sites More sharing options...
w.endelin 15 Odesláno: 21. Květen, 2011 Share Odesláno: 21. Květen, 2011 je to omezeni casem ? treba ze to jde pouzit jen kazde 2 minuty? No podle toho jestli mas rze nebo jaky gamemod!! Nezáleží na GM ale na FS, musíš tam mít Timer, na RZE je to příkaz normální Link to comment Share on other sites More sharing options...
kudla188 8 Odesláno: 21. Květen, 2011 Author Share Odesláno: 21. Květen, 2011 je to omezeni casem ? treba ze to jde pouzit jen kazde 2 minuty? No podle toho jestli mas rze nebo jaky gamemod!! Nezáleží na GM ale na FS, musíš tam mít Timer, na RZE je to příkaz normální tak sem to mislel vis? Link to comment Share on other sites More sharing options...
Vetor3x^ 11 Odesláno: 21. Květen, 2011 Share Odesláno: 21. Květen, 2011 moje hodnotenie je:pre novacika: ak je to tvoj prvy vytvor tak 5/10, ak ne prvy ale zacinas v pawne: 1/10 (za snahu) pre pokrocileho: -1/10 (to -1 je zaporne cislo, ne pomlcka) toto ti napawnim za 2,5 minuty kamo to si tu rovno mohol dat aj PWN, predpokladam ze tam jedne je prikaz a ReapirVehicle(GetPlayerVehicleID(playerid)); a to je vsetko, ci sa mylim? (sry za to hodnotenie ale kazdy ma na to vlastny nazor ) lol za 2,5 minuty? TAK TO NEJSI MOC dobry pawner Link to comment Share on other sites More sharing options...
Guest Odesláno: 21. Květen, 2011 Share Odesláno: 21. Květen, 2011 moje hodnotenie je:pre novacika: ak je to tvoj prvy vytvor tak 5/10, ak ne prvy ale zacinas v pawne: 1/10 (za snahu) pre pokrocileho: -1/10 (to -1 je zaporne cislo, ne pomlcka) toto ti napawnim za 2,5 minuty kamo to si tu rovno mohol dat aj PWN, predpokladam ze tam jedne je prikaz a ReapirVehicle(GetPlayerVehicleID(playerid)); a to je vsetko, ci sa mylim? (sry za to hodnotenie ale kazdy ma na to vlastny nazor ) lol za 2,5 minuty? TAK TO NEJSI MOC dobry pawner Ty se radši moc neozívej kopíráku .. Link to comment Share on other sites More sharing options...
kudla188 8 Odesláno: 22. Květen, 2011 Author Share Odesláno: 22. Květen, 2011 Hale opravite mi pls cod?? jestli ano tak tady je: #include #include "../include/gl_common.inc" #define ADMINFS_MESSAGE_COLOR 0xFF444499 #define PM_INCOMING_COLOR 0xFFFF22AA #define PM_OUTGOING_COLOR 0xFFCC2299 #define PM_CHATCOLOR 0xFFFF00 //------------------------------------------------ public OnFilterScriptInit() { print("\n--PM Mode Nacteno!\n"); return 1; } //------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; new tmp[256]; new Message[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new iName[MAX_PLAYER_NAME+1]; new idx; cmd = strtok(cmdtext, idx); if(strcmp("/pm", cmd, true) == 0) { tmp = strtok(cmdtext,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } new id = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Špatně zadané ID hráče!!"); return 1; } if(playerid != id) { GetPlayerName(id,iName,sizeof(iName)); GetPlayerName(playerid,pName,sizeof(pName)); format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage); SendClientMessage(playerid,PM_OUTGOING_COLOR,Message); format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage); SendClientMessage(id,PM_INCOMING_COLOR,Message); PlayerPlaySound(id,1085,0.0,0.0,0.0); printf("PM od: %s, %s",Playerid,Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Nemůžeš poslat pm sobě!!"); } return 1; } a erory co to dava: C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 033: array must be indexed (variable "cmd") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 017: undefined symbol "strrest" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 033: array must be indexed (variable "gMessage") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(63) : error 017: undefined symbol "Playerid" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(72) : error 030: compound statement not closed at the end of file (started at line 22) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors. Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 22. Květen, 2011 Share Odesláno: 22. Květen, 2011 #include #include "../include/gl_common.inc" #define ADMINFS_MESSAGE_COLOR 0xFF444499 #define PM_INCOMING_COLOR 0xFFFF22AA #define PM_OUTGOING_COLOR 0xFFCC2299 #define PM_CHATCOLOR 0xFFFF00 strtok(const string[], &index)// nemel si stock strtok { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; } //------------------------------------------------ public OnFilterScriptInit() { print("\n--PM Mode Nacteno!\n"); return 1; } //------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; new tmp[256]; new Message[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new iName[MAX_PLAYER_NAME+1]; new idx; cmd = strtok(cmdtext, idx); if(strcmp("/pm", cmd, true) == 0) { tmp = strtok(cmdtext,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } new id = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Špatně zadané ID hráče!!"); return 1; } if(playerid != id) { GetPlayerName(id,iName,sizeof(iName)); GetPlayerName(playerid,pName,sizeof(pName)); format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage); SendClientMessage(playerid,PM_OUTGOING_COLOR,Message); format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage); SendClientMessage(id,PM_INCOMING_COLOR,Message); PlayerPlaySound(id,1085,0.0,0.0,0.0); printf("PM od: %s, %s",playerid,Message);// tady si mel velky P u playerid } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Nemůžeš poslat pm sobě!!"); } return 1; } return 0;//chybel konec publiku } Link to comment Share on other sites More sharing options...
dj219 0 Odesláno: 22. Květen, 2011 Share Odesláno: 22. Květen, 2011 Hale opravite mi pls cod?? jestli ano tak tady je: #include #include "../include/gl_common.inc" #define ADMINFS_MESSAGE_COLOR 0xFF444499 #define PM_INCOMING_COLOR 0xFFFF22AA #define PM_OUTGOING_COLOR 0xFFCC2299 #define PM_CHATCOLOR 0xFFFF00 //------------------------------------------------ public OnFilterScriptInit() { print("\n--PM Mode Nacteno!\n"); return 1; } //------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; new tmp[256]; new Message[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new iName[MAX_PLAYER_NAME+1]; new idx; cmd = strtok(cmdtext, idx); if(strcmp("/pm", cmd, true) == 0) { tmp = strtok(cmdtext,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } new id = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Špatně zadané ID hráče!!"); return 1; } if(playerid != id) { GetPlayerName(id,iName,sizeof(iName)); GetPlayerName(playerid,pName,sizeof(pName)); format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage); SendClientMessage(playerid,PM_OUTGOING_COLOR,Message); format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage); SendClientMessage(id,PM_INCOMING_COLOR,Message); PlayerPlaySound(id,1085,0.0,0.0,0.0); printf("PM od: %s, %s",Playerid,Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Nemůžeš poslat pm sobě!!"); } return 1; } a erory co to dava: C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 033: array must be indexed (variable "cmd") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 017: undefined symbol "strrest" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 033: array must be indexed (variable "gMessage") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(63) : error 017: undefined symbol "Playerid" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(72) : error 030: compound statement not closed at the end of file (started at line 22) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors. Jinak vodkud si to skopcil? Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Květen, 2011 Share Odesláno: 22. Květen, 2011 lol toto je v základnom balíku GameModes... Link to comment Share on other sites More sharing options...
kudla188 8 Odesláno: 23. Květen, 2011 Author Share Odesláno: 23. Květen, 2011 Hale opravite mi pls cod?? jestli ano tak tady je: #include #include "../include/gl_common.inc" #define ADMINFS_MESSAGE_COLOR 0xFF444499 #define PM_INCOMING_COLOR 0xFFFF22AA #define PM_OUTGOING_COLOR 0xFFCC2299 #define PM_CHATCOLOR 0xFFFF00 //------------------------------------------------ public OnFilterScriptInit() { print("\n--PM Mode Nacteno!\n"); return 1; } //------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; new tmp[256]; new Message[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new iName[MAX_PLAYER_NAME+1]; new idx; cmd = strtok(cmdtext, idx); if(strcmp("/pm", cmd, true) == 0) { tmp = strtok(cmdtext,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } new id = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Použí /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,PM_CHATCOLOR,"[!]Špatně zadané ID hráče!!"); return 1; } if(playerid != id) { GetPlayerName(id,iName,sizeof(iName)); GetPlayerName(playerid,pName,sizeof(pName)); format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage); SendClientMessage(playerid,PM_OUTGOING_COLOR,Message); format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage); SendClientMessage(id,PM_INCOMING_COLOR,Message); PlayerPlaySound(id,1085,0.0,0.0,0.0); printf("PM od: %s, %s",Playerid,Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Nemůžeš poslat pm sobě!!"); } return 1; } a erory co to dava: C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(30) : error 033: array must be indexed (variable "cmd") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 017: undefined symbol "strtok" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(34) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 017: undefined symbol "strrest" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(42) : error 033: array must be indexed (variable "gMessage") C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(63) : error 017: undefined symbol "Playerid" C:\Documents and Settings\Kuba\Plocha\Czech Life v1.0\PMmsg.pwn(72) : error 030: compound statement not closed at the end of file (started at line 22) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors. Jinak vodkud si to skopcil? Z nikad jen sem to upravil xD!!!! (skopcil sem to ze C:\Documents and Settings\Kuba\Plocha\pawno\prdel\deb*l.amx Link to comment Share on other sites More sharing options...
MIKI785 14 Odesláno: 23. Květen, 2011 Share Odesláno: 23. Květen, 2011 Coze? Dyt na tom neni zadna prace. A urcite copy z tutu. 0/10 1 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