-
Příspěvků
740 -
Registrován
-
Aktivní
-
Vítězných dnů
28
Content Type
Profiles
Forums
Calendar
Gallery
SA-MP
Everything posted by Invouk
-
ako nastavím administrátora teda pr. case 5: SetPlayerScpre(playerid, 6); a chcem to na ID cez DIalog ako nastavím aby som to nastavil danemu IDečku ?? to fakt nwm A prečo mi nefunguje COmmand: if(strcmp("/adminc", cmdtext, true) == 0) { if(GetPlayerScore(playerid) == 1) return SendClientMessage(playerid, COLOR_RED, "Nemáš dostatočný Admin Level"); { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } if(GetPlayerScore(playerid) == 2) { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 2.: /mute ID - /unmute ID - /freeze ID - /unfreeze ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } if(GetPlayerScore(playerid) == 3) { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 2.: /mute ID - /unmute ID - /freeze ID - /unfreeze ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 3.: /kick ID Dôvod - /startrace NazovRace"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } if(GetPlayerScore(playerid) == 4) { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 2.: /mute ID - /unmute ID - /freeze ID - /unfreeze ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 3.: /kick ID Dôvod - /startrace NazovRace"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 4.: /ban id dôvod čas h/d/m /startdm NazovDM"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } if(GetPlayerScore(playerid) == 5) { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 2.: /mute ID - /unmute ID - /freeze ID - /unfreeze ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 3.: /kick ID Dôvod - /startrace NazovRace"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 4.: /ban id dôvod čas h/d/m /startdm NazovDM"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 5.: /restart - /ipban ID dôvod čas - /pban id dôvod "); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 1.: /facka ID - /esaok ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 2.: /mute ID - /unmute ID - /freeze ID - /unfreeze ID"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 3.: /kick ID Dôvod - /startrace NazovRace"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 4.: /ban id dôvod čas h/d/m /startdm NazovDM"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "LvL 5.: /restart - /ipban ID dôvod čas - /pban id dôvod "); SendClientMessage(playerid,COLOR_LIGHTBLUE, "Rcon : /setadmin - Nastaví hračovi AlVl"); SendClientMessage(playerid,COLOR_LIGHTBLUE, "+=========================Admin Command=========================+"); return 1; } } Ano mam to odtabovane len sa to zle formatuje ...A nefunguje ak mam score 5 tak nenapíše mi ten command pre LVL 5 ale len pre LVl 1
-
Dobrý den mam problém sfarbami: SendClientMessage(playerid,COLOR_RED,"{0xFFFF0000}[ ! ]{0xFFFFFFFF}Nemáš dostatok penazí na sebevraždu{0xFFFF0000}[ ! ]"); Ak napíšem .. /Kill .. tak napíše henten text čo je cely: {0xFFFF0000}[ ! ]{0xFFFFFFFF}Nemáš dostatok penazí na sebevraždu{0xFFFF0000}[ ! ] v Cervenom
-
No tak skus ak maš port 7777 ... IP: localhost:7777
-
Dobrý Den prečo mi nefunguje: if(dialogid == DIALOG_SETADMIN) { if(!response) { switch(listitem) { case 0: SetPlayerScore(playerid, 0); case 1: SetPlayerScore(playerid, 1); case 2: SetPlayerScore(playerid, 2); case 3: SetPlayerScore(playerid, 3); case 4: SetPlayerScore(playerid, 4); case 5: SetPlayerScore(playerid, 5); } } } PRoste zobrazí sa dialog .. : if(strcmp("/setadmin",cmdtext,true) == 0) { if(!IsPlayerAdmin(playerid)) { ShowPlayerDialog(playerid, DIALOG_SETADMIN, DIALOG_STYLE_LIST, "Nastavenia Administrátora", "Hráč\nSupport\nHelper\nModerátor\nAdministrator\nHlavný administrator "); }else{ SendClientMessage(playerid, COLOR_RED, "Nemáš dostatoční admin level na použitie tohoto príkazu"); } return 1; } A nejde mi to proste nenastaví mi Score
-
Ako .. viem čo to robi ale neviem ako to použivať pr. načitavanie .. z suboru dini HESLO a tak ..
-
Dobrý den, prepáčte že vás zasa otravujem ale mam taký menši príroblem Ako ked píšem do textu .. /kick ID Dôvod a ako sformatujem ID aby to ID vyhodilo a nie mna prosím help ? A nejaký návod na stocky ak by sa tu našíel ?
-
Presne takto som to myslel len sa mi to nechcelo písať :DD Naco 3d Text Label on chcel len bonus
-
Nastav SetPlayerInterior(playerid, 114);
-
a čo tak ten if pickupid dato do OnPlayerPickupPickup
-
pomoc Event sysetm error
Invouk replied to Otakar Novy (PAWNO)'s question in Herní (SA:MP, CS apod.)
:DD RObi návod na pawno a sam ho nevie to je ehmmmm****** nechcem povedať čo stiahni include ZCMD a #include <zcmd> daj pod #include <a_samp> -
A načo tam máš asi ten 6. pinovy ? možna to asi tam pojde nie ? POjde dodesky kde to maš odznačene
-
Nechápem ťa ako zviditelniť (Show)
-
Ešte mám problem s ukladaním neviem čo je stym ale neuloží mi to heslo A Textdrawy furt nejdu PRosim help
-
:DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
-
ZABITE MA ROVNO NECH TO NEMUSIM TRPET TOto každy nváčik ovlada ak nie tak sa pawno nikdy nenauči to už je logicky každy si ve preložiť PANE BOŽE
-
a na GTA : ONline si nagličuj všetkeho bez pomoci heckov .. okrem RANKU(Xp) Poznám glitch jeden bez pmoci hacknu na peniaze takže a v Sa-mp nie Podla mna hratelnosť stupa a ešte duplom ked budu mať všetci ban ktory glitchuuju takže bude viac .... a strašne sta teším na 0.4a Som z zvedavy určite by som uvíatal, Revoluciu dialogov ako tu niekdo písal, síce mi osobne nevedia su pekne aLE mohl by bpridať viacej štylov ... (nič mi nenapadá) a to nehovorím o štycloch písma na TextDrawy !
-
SendClientMessage(playerid, "Vitaj na serveri !"); Alebo WIKI: SendClientMessage
-
Ty musiš spus tit tym príkazom random ado case nedavaš pozicie ale stači od case 0 po 1 a k tym case case: 0 random .... teda aspom myslím Nemôžeš spustit case a random ti nič nespravi len to ude bugovať nwm ako ale asi takto by to malo byť
-
Sranda že som to dal navrch D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(22) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(34) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(47) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(60) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(72) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(84) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(96) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(108) : error 010: invalid function or declaration D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(409) : warning 202: number of arguments does not match definition D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw0" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw1" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw2" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw3" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw4" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw5" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw6" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighL.pwn(457) : warning 203: symbol is never used: "Textdraw7"
-
Super ide mi to .. ale mam problem ... Neukladá mi to heslo nwm prečo ... ked dám ... register napíšem heslo a neuloží sa Další problem neukazuju za mi textdrawy ktore tam mám: CLICK SEM
-
Ja som pozeral ale nejak mi to nešlo prosím vysvetlíťe mi to PROSIM (Pawno sa učím arad by som to mal vysvetlene poriadne) Pochopil som asi to že: strcmp(inputtext, checkpassword, true, strlen(stringfromvariable)) hmmm a kde mam dať ak sa to zhoduje tak .... ak sato nezhoduej tak .....
-
Potrebujem pomôcť ako vytvoriť podmienku #define checkpassword new cesta[54], format(cesta, sizeof(cesta), "/Users/%s.sav", name), dini_Get(cesta, "Heslo"); if(inputtext == checkpassword) { }else{ } Mam to takto: if(dialogid == DIALOG_LOGIN) { if(!response) { if(inputtext == checkpassword) { SpawnPlayer(playerid); SendClientMessage(playerid COLOR_GREEN, "Zadal si správne heslo, môžeš začať hráť."); }else{ ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Prihlásenie na server High Life", "Zadaj svoje heslo \n Ake bolo pri registráci !", "Login", "Odísť"); SendClientMessage(playerid, COLOR_RED, "[ ! ]Zadal si nesprávne heslo, SKUS HO ZADAŤ ZNOVA[ ! ]") } { }else{ SendClientMessage(playerid, COLOR_RED, "Ból si vyhodený zo servera High Life"); Kick(playerid); } } A nefunguje mi mam to v onplayerdialogrespone A nevieš prosim ťa niekde navod na STOCK lebo ako vidím tak define nejde
-
Prosím mám tam chyby a neviem ich odstrániť prosim pomôžte. PASTEBIN ODKAZ Prosim pomôžte
-
No ... daj mi ID INTERIORU a spravím ti to 1. ZIsti ID INTERIORU a Pozicu kde sa ma v interioru spawnuť ! 2.Vytvor si Checkpoint Kde chceš vchadzať do interioru 3 4. SetPlayerVirtualWorld(playerid, ) public OnPlayerSpawn(playerid) { SetPlayerCheckpoint(playerid, X, Y, Z, 3.0); // TUTO dosad kde sa ma objavovať checkpoint return 1; } public OnPlayerEnterCheckpoint(playerid) { SetPlayerVirtualWorld(playerid, 1); // nastaví virtual world aby sa to nebugovalo SetPlayerPos(playerid, X, Y, Z); // Tu nastav kde sa spawne DisablePlayerCheckpoint(playerid); // Disable -- checkpoint pre hrača return 1; } Alebo ak chceš- http://wiki.sa-mp.com/wiki/Function:SetPlayerCheckpoint
-
ERROR: D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighLive.pwn(174) : error 001: expected token: ",", but found ";" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighLive.pwn(185) : error 076: syntax error in the expression, or invalid function call D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighLive.pwn(205 -- 207) : error 001: expected token: ",", but found "new" D:\Documents and Settings\12XpresS12\Plocha\Server HighLive\gamemodes\HighLive.pwn(210) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. a CODE: 174: format(string, sizeof(string), "Hráč [%s] sa pripojil na servera", PlayerName(playerid); 185: format(cesta, sizeof(cesta), "/Users/%s.sav", PlayerName(playerid); 250-207: format(string, sizeof(string), "Hráč [%s] sa odpojil z servera", PlayerName(playerid) //Ukladanie--------------------------------------------------------------------- new cesta[50]; 210: format(cesta, sizeof(cesta), "/Users/%s.sav", PlayerName);