zpatecnik 0 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 1) Zprávně != Správně 2) Chybej ti stredniky, strednik == ; Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":3m596tf8]Mam Tam Nejake Chybky Toto Tam Mam: --> #include new ochranka Letiste[MAX_PLAYERS] new popelar[MAX_PLAYERS] new osobni Ochranka[MAX_PLAYERS] new taxikar[MAX_PLAYERS] new opravar[MAX_PLAYERS] new pumpar[MAX_PLAYERS] new vojak[MAX_PLAYERS] new policajt[MAX_PLAYERS] new ridic Autobusu[MAX_PLAYERS] new bezdomec[MAX_PLAYERS] new lodni Sluzba[MAX_PLAYERS] new zachranar[MAX_PLAYERS] new ochranka[MAX_PLAYERS] new zahradnik[MAX_PLAYERS] new pohrebni sluzba[MAX_PLAYERS] new dealer aut[MAX_PLAYERS] A toto Jsou Chyby: --> C:\Users\Honza\Desktop\Untitled.pwn(2) : error 001: expected token: ";", but found "-identifier-" C:\Users\Honza\Desktop\Untitled.pwn(4) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(6) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(7) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(8) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(9) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(10) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(12) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(14) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(15) : error 021: symbol already defined: "ochranka" C:\Users\Honza\Desktop\Untitled.pwn(16) : error 001: expected token: ";", but found "new" C:\Users\Honza\Desktop\Untitled.pwn(17) : error 001: expected token: ";", but found "-identifier-" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "bezdomec" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "dealer" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "lodni" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "ochranka" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "opravar" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "osobni" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "pohrebni" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "policajt" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "popelar" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "pumpar" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "ridic" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "taxikar" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "vojak" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "zachranar" C:\Users\Honza\Desktop\Untitled.pwn(194) : warning 203: symbol is never used: "zahradnik" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 12 Errors. Pls Jak To Ma Bejt Zprávně u kazdej promennej ti chybi strednik ; ale nechapu proc to neudelas na jednu promennu a pak jen pridavas cislo napr new iPlayerRole[MAX_PLAYERS]; a pak u povolani das iPlayerRole[playerid] = 1; a pak das 2,3... Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 Uz To Mam Takhle:---> new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; Ale Píše Mi To Porad Chyby : ---> C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole10" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole11" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole12" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole13" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole14" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole15" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole16" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole2" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole3" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole4" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole5" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole6" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole7" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole8" C:\Users\Honza\Desktop\Untitled.pwn(197) : warning 203: symbol is never used: "iPlayerRole9" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Co Mam Udelat Dal Delam Si Povolani :opera: Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":32fbha5c]Uz To Mam Takhle:---> new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; new iPlayerRole[MAX_PLAYERS]; Co Mam Udelat Dal Delam Si Povolani :opera: tohle je taky blbost, staci jedno new iPlayerRole[MAX_PLAYERS]; a pak uz jen zvysujes cislo nebo si nadefinujes nazev povolani #define povolani 0 a pak si namisto toho cisla das povolani a do povolani si pridas jen promennu: iPlayerRole[playerid] = 1; //nebo si tam das to povolani Link to comment Share on other sites More sharing options...
Guest lama Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 IsPlayerRole[playerid] = 1; IsPlayerRole[playerid] = 2; IsPlayerRole[playerid] = 3; IsPlayerRole[playerid] = 4; IsPlayerRole[playerid] = 5; IsPlayerRole[playerid] = 6; IsPlayerRole[playerid] = 7; IsPlayerRole[playerid] = 8; IsPlayerRole[playerid] = 9; IsPlayerRole[playerid] = 10; IsPlayerRole[playerid] = 11; IsPlayerRole[playerid] = 12; IsPlayerRole[playerid] = 13; IsPlayerRole[playerid] = 14; IsPlayerRole[playerid] = 15; IsPlayerRole[playerid] = 16; IsPlayerRole[playerid] = 17; IsPlayerRole[playerid] = 18; IsPlayerRole[playerid] = 19; IsPlayerRole[playerid] = 20; IsPlayerRole[playerid] = 21; Tak to udělej a vždy si za ; dej // Poznamka aby si vedel jaky to je povolani treba IsPlayerRole[playerid] = 1; // Policie Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 Pls Uz nevim co je tam spatne Toto Jsou Chyby : ---> C:\Users\Honza\Desktop\Untitled.pwn(3) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(4) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(5) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(6) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(7) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(8) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(9) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(10) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(11) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(12) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(13) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(14) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(15) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(16) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(17) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(18) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(196) : warning 203: symbol is never used: "IsPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 16 Errors. a Toto tam mam : ----> #include new IsPlayerRole[playerid] = 1; // Ochranka Letiště new IsPlayerRole[playerid] = 2; // Popeláři new IsPlayerRole[playerid] = 3; // Osobní Ochranka new IsPlayerRole[playerid] = 4; // Taxi new IsPlayerRole[playerid] = 5; // Servis new IsPlayerRole[playerid] = 6; // Pumpa new IsPlayerRole[playerid] = 7; // Armada new IsPlayerRole[playerid] = 8; // Policie new IsPlayerRole[playerid] = 9; // Autobusaři new IsPlayerRole[playerid] = 10; // Bezdomovci new IsPlayerRole[playerid] = 11; // Lodní Služba new IsPlayerRole[playerid] = 12; // Zachraná Služna new IsPlayerRole[playerid] = 13; // Ochranka new IsPlayerRole[playerid] = 14; // Zahradníci new IsPlayerRole[playerid] = 15; // Pohřební Služba new IsPlayerRole[playerid] = 16; // AutoSalon #define B_CERVENA 0xFF0000AA #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Mesto San Fierro"); AddPlayerClass(0,-1972.5594,297.0089,35.1719,89.5753,0,0,0,0,0,0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":1rmff2ri]Pls Uz nevim co je tam spatne Toto Jsou Chyby : ---> C:\Users\Honza\Desktop\Untitled.pwn(3) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(4) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(5) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(6) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(7) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(8) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(9) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(10) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(11) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(12) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(13) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(14) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(15) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(16) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(17) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(18) : error 017: undefined symbol "playerid" C:\Users\Honza\Desktop\Untitled.pwn(196) : warning 203: symbol is never used: "IsPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 16 Errors. a Toto tam mam : ----> #include new IsPlayerRole[playerid] = 1; // Ochranka Letiště new IsPlayerRole[playerid] = 2; // Popeláři new IsPlayerRole[playerid] = 3; // Osobní Ochranka new IsPlayerRole[playerid] = 4; // Taxi new IsPlayerRole[playerid] = 5; // Servis new IsPlayerRole[playerid] = 6; // Pumpa new IsPlayerRole[playerid] = 7; // Armada new IsPlayerRole[playerid] = 8; // Policie new IsPlayerRole[playerid] = 9; // Autobusaři new IsPlayerRole[playerid] = 10; // Bezdomovci new IsPlayerRole[playerid] = 11; // Lodní Služba new IsPlayerRole[playerid] = 12; // Zachraná Služna new IsPlayerRole[playerid] = 13; // Ochranka new IsPlayerRole[playerid] = 14; // Zahradníci new IsPlayerRole[playerid] = 15; // Pohřební Služba new IsPlayerRole[playerid] = 16; // AutoSalon #define B_CERVENA 0xFF0000AA #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Mesto San Fierro"); AddPlayerClass(0,-1972.5594,297.0089,35.1719,89.5753,0,0,0,0,0,0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } jezis, to nahore vymaz to co mas pod include to iPlayerRole a dej tam jenom tohle jedno new iPlayerRole[MAX_PLAYERS]; Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 Hosi vy asi nevite co je to spoiler Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ale ja tam chci mit vic povolani Link to comment Share on other sites More sharing options...
癌癌癌 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":1l2o639a]ale ja tam chci mit vic povolani přečti si ten tut ještě jednou Link to comment Share on other sites More sharing options...
Guest lama Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":3ax2vwxr]ale ja tam chci mit vic povolani No oni to rikaji das to tam a pak budes jen menit = 1; za = 2; atd. Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":el5gmody]ale ja tam chci mit vic povolani a co sem ti celou dobu psal? nahoru dej to jedno new iPlayerRole[MAX_PLAYERS]; a do pridani do povolani dej promennu iPlayerRole[playerid] = 1; a co druheho povolani iPlayerRole[playerid] = 2; atd. Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 okk uz je tam jen jedna chyba a to : ----> C:\Users\Honza\Desktop\Untitled.pwn(4) : error 010: invalid function or declaration C:\Users\Honza\Desktop\Untitled.pwn(196) : warning 203: symbol is never used: "iPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":10bg5j73]okk uz je tam jen jedna chybaa to : ----> C:\Users\Honza\Desktop\Untitled.pwn(4) : error 010: invalid function or declaration C:\Users\Honza\Desktop\Untitled.pwn(196) : warning 203: symbol is never used: "iPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase radky? Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ? Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":3c18q3we]? omg, dej sem ty radky na ktorych sou ty errory Link to comment Share on other sites More sharing options...
Guest lama Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":1ovh0qum]? Dej sem radek 3 4 5 + 195 196 197 (Č. radku zjistis na zacatku ) Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 To je Ten 4 : ---> iPlayerRole[playerid] = 1; A ten 196 Nemam : ---> XXXXX Moje Cele PWN #include new iPlayerRole[MAX_PLAYERS]; iPlayerRole[playerid] = 1; iPlayerRole[playerid] = 2; iPlayerRole[playerid] = 3; iPlayerRole[playerid] = 4; iPlayerRole[playerid] = 5; iPlayerRole[playerid] = 6; iPlayerRole[playerid] = 7; iPlayerRole[playerid] = 8; iPlayerRole[playerid] = 9; iPlayerRole[playerid] = 10; iPlayerRole[playerid] = 11; iPlayerRole[playerid] = 12; iPlayerRole[playerid] = 13; iPlayerRole[playerid] = 14; iPlayerRole[playerid] = 15; iPlayerRole[playerid] = 16; #define B_CERVENA 0xFF0000AA #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Mesto San Fierro"); AddPlayerClass(0,-1972.5594,297.0089,35.1719,89.5753,0,0,0,0,0,0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 Lama Tady je ten 3,4,5 3: ---> new iPlayerRole[MAX_PLAYERS]; 4: --->iPlayerRole[playerid] = 1; 5: --->iPlayerRole[playerid] = 2; Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":1s04rof3]To je Ten 4 : ---> iPlayerRole[playerid] = 1;A ten 196 Nemam : ---> XXXXX Moje Cele PWN #include new iPlayerRole[MAX_PLAYERS]; iPlayerRole[playerid] = 1; iPlayerRole[playerid] = 2; iPlayerRole[playerid] = 3; iPlayerRole[playerid] = 4; iPlayerRole[playerid] = 5; iPlayerRole[playerid] = 6; iPlayerRole[playerid] = 7; iPlayerRole[playerid] = 8; iPlayerRole[playerid] = 9; iPlayerRole[playerid] = 10; iPlayerRole[playerid] = 11; iPlayerRole[playerid] = 12; iPlayerRole[playerid] = 13; iPlayerRole[playerid] = 14; iPlayerRole[playerid] = 15; iPlayerRole[playerid] = 16; #define B_CERVENA 0xFF0000AA #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Mesto San Fierro"); AddPlayerClass(0,-1972.5594,297.0089,35.1719,89.5753,0,0,0,0,0,0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerInfoChange(playerid) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } jezis, ja tady asi skolabuju tohle iPlayerRole[playerid] = 1; iPlayerRole[playerid] = 2; iPlayerRole[playerid] = 3; iPlayerRole[playerid] = 4; iPlayerRole[playerid] = 5; iPlayerRole[playerid] = 6; iPlayerRole[playerid] = 7; iPlayerRole[playerid] = 8; iPlayerRole[playerid] = 9; iPlayerRole[playerid] = 10; iPlayerRole[playerid] = 11; iPlayerRole[playerid] = 12; iPlayerRole[playerid] = 13; iPlayerRole[playerid] = 14; iPlayerRole[playerid] = 15; iPlayerRole[playerid] = 16; vymaz a nech tam jen to iPlayerRole[MAX_PLAYERS]; a to co sem ti napsal abys vymazal budes pridavat kdyz se pripoji k tomu povolani Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 mam to mazle ale jedna chyba tu este je a to u radku 181 kterej ani nemam C:\Users\Honza\Desktop\Untitled.pwn(181) : warning 203: symbol is never used: "iPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 iPlayerRole[playerid] = 1; a toto budu psat kdyz tam budou hrat lidi jako /join O_o?? Nechapu to jsem totalne vedle tak sry Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":2abds83w]mam to mazle ale jedna chyba tu este je a to u radku 181 kterej ani nemam C:\Users\Honza\Desktop\Untitled.pwn(181) : warning 203: symbol is never used: "iPlayerRole" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. nemas to nikde pouzite, udelej si povolani a pridej donho promennu iPlayerRole[playerid] = 1; Link to comment Share on other sites More sharing options...
Guest Crazy[Man] Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 mam ty souradnice kde ty povolani budou a ty souradnice pridou kam? Link to comment Share on other sites More sharing options...
Adamos 1 Odesláno: 29. Listopad, 2009 Share Odesláno: 29. Listopad, 2009 ":3pqpgup6]mam ty souradnice kde ty povolani budou a ty souradnice pridou kam? pro tebe bude dobre kdyz si to udelas cez menu nebo prikaz, dejme tomu ze cez menu: udelas si menu nahoru tam kde si daval iPlayerRole[MAX... das new Menu:povolani; vytvoris si menu CreateMenu, pickup s tymi souradnicami ktere sis ulozil a pak kdyz stuopne na pickup zobrazi se mu menu a do OnPlayerSelectedMenuRow spravis co to udelas kdyz da v menu Pripojit 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