Jump to content

Ch1NeZu

Membru
  • Posts

    196
  • Joined

  • Last visited

    Never

Everything posted by Ch1NeZu

  1. ... uitate in script ca lam pus sa il downloadati inafara de already defined si loose indentification celelalte errori sunt noi pentru mine.... daia vam cerut ajutorul asa mult
  2. C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(157) : error 021: symbol already defined: "idx" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(158) : error 021: symbol already defined: "cmd" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(158) : error 033: array must be indexed (variable "-unknown-") C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(160) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(164) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(164) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(191) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(197) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(197) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(236) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(264) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(285) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(285) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(286) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(286) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(307) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(335) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(335) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(363) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(363) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(430) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(499) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(533) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(533) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(551) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(571) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(571) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(572) : error 035: argument type mismatch (argument 2) Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. uite vyorel tot script-ul ca oricum il postam aici dupa ce il terminam http://www.solidfiles.com/d/33869/
  3. Am facut primul meu filterscript si rezulta ca are 1 singur bug ~X( Cand dau /dmv normal ar trebuii sa ma bage automat in masina dar nu o face iar daca ma urc eu in ea ma da afara ~X( am incercat sa il rezolv dar nu iam dat de cap http://pastebin.com/H8vmS0xZ
  4. Ch1NeZu

    Comanda /aod

    Uite pasta o folosesc eu si nu imi scade nimic daca sunt On duty //--------------------------------[Admin on duty]--------------------------------------- if(strcmp(cmd, "/aod", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 1) { if(AdminDuty[playerid] == 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[RomeoNet] %s [ID:%d] is no longer on duty as an admin.", sendername,playerid); SendClientMessageToAll(COLOR_DBLUE,string); AdminDuty[playerid] = 0; SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,0); SetPlayerToTeamColor(playerid); } else { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[RomeoNet] %s [ID:%d] is now on duty as an admin.Please /w or /report if you need help.",sendername,playerid); SendClientMessageToAll(0xFAAFBEFF,string); AdminDuty[playerid] = 1; SetPlayerHealth(playerid,99999); SetPlayerArmour(playerid,99999); SetPlayerColor(playerid,0xFAAFBEFF); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { SetPlayerMarkerForPlayer( i,playerid,0xFAAFBEFF ); } } } } else { SendClientMessage(playerid,COLOR_GREY,"Your not an admin !"); } return 1; }
  5. Uite ti-am facuto si pentru triads doar ca trebuie sa schimbi id-ul factiuni sper ca stii macar asta #define COLOR_YELLOW 0xFFFF00AA #define COLOR_BLUE 0x2641FEAA #define FILTERSCRIPT #include <a_samp> #define FILTERSCRIPT forward GateClose(); forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); new gate; enum pInfo { pMember, pLeader, } new PlayerInfo[MAX_PLAYERS][pInfo]; public OnFilterScriptInit() { gate = CreateObject(971, -2242.361328, 643.135803, 51.993179, 0.0000, 0.0000, 269.9999); print("\n--------------------------------------"); print(" Gate [FS] "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/gate", true)==0) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) //Schimbi si tu id-ul factiuni { if(PlayerToPoint(10.0, playerid, -2251.6177,643.5991,49.2969)) { MoveObject(gate,-2242.358643, 644.206421, 59.069702, 5.5); SetTimer("GateClose", 2000, 0); SendClientMessage(playerid, COLOR_BLUE,"In 5 secunde poarta se va inchide"); GivePlayerMoney(playerid,0); return 1; } else { SendClientMessage(playerid, COLOR_YELLOW,"You are not member of Triads"); } } } return 0; } public GateClose() { MoveObject (gate, -2242.361328, 643.135803, 51.993179, 2.5); return 1; } public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } Nu uita +1 :P
  6. posteaza comanda si dute pe server in fata porti dai /save si posteaza si coordonatele
  7. Tot ce am vazut eu sunt vame LS-SF eu am facut LS-SF si LS-LV in next update o sa fac si SF-LV
  8. Autor: Ch1NeZu Version: 1.0 [glow=red,2,300]Forum[/glow]: http://intelarena.info/forum Timp de lucru: -Obiecte 1 ora jumate -Pawno part aproape 1 ora ca sunt incepator Picture's: Descriere Am creeat o vama care desparte LS de SF si LV de LS Pentru a trece vama va costa 500$ puteti modifica cum vreti voi Comenzi: /barrier ( dupa cum vedeti o comanda deschide 4 barriere dar doar daca sunteti in pickup-ul respectiv ) [glow=red,2,300]====Download====[/glow] Amx file: pwn File: Instalare: 1.Adaugati vama.amx in folderul Filterscripts 2.Ducetiva in server.cfg si adaugati vama la linia filterscripts Este al 2-lea FS al meu sper sa nu aveti probleme [glow=yellow,2,300]ENJOY[/glow]
  9. Sal incerc sa fac un filterscript si imi dau niste erori groaznice...ma puteti ajuta sa le rezolv ? C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(157) : error 033: array must be indexed (variable "-unknown-") C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(165) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(196) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(241) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(269) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(312) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(340) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(340) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(368) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(368) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(435) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(504) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(556) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(598) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(613) : warning 217: loose indentation C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(636) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(663) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(684) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(685) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(687) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(690) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(694) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(695) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(713) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(714) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(716) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(719) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(723) : error 017: undefined symbol "giveplayerid" C:\Documents and Settings\ChiNeZu\Desktop\helper.pwn(724) : error 017: undefined symbol "giveplayerid" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. public OnPlayerCommandText(playerid, cmdtext[]) { new idx; new cmd=strtok(cmdtext, idx); //<--- Linia 157 //------------------------------------------[Helper Chat]------------------------------------------------------------- if(strcmp(cmd, "/hc", true) == 0 || strcmp(cmd, "/hchat", true) == 0) //---> linia 165 { if(strcmp(cmd, "/hsay", true) == 0) //--> linia 196 { if(IsPlayerConnected(playerid)) { Si cum definesc giveplayerid??? Etc... nare rost sa le postez pe toate ca daca ma ajutati sa le rezolv pastea poate imi dau singur seama si le rezolv pe toate
  10. Comanda godmode si godmode list /godmode http://pastebin.com/gx10hB28 /godlist http://pastebin.com/3jUbgsCD
  11. foarte frumos gj +1 de la mine dar am o intrebare ca acum nu am san andreas in pc ca am reinstalat win de unde dai sa incepi misiunea de la blocul acela de langa banca ?
  12. adauga SetPlayerArmour(playerid,100); sub SetPlayerHealth(playerid,100); incearca asa
  13. :))) da stiu ) oricum bine ca le-am rezolvat amn2 oricum am dat edit la post am uitat sa bag masina ))=)))
  14. Da stiu ca erau 26 dar ) credema de cand lam inceput aveam vre-o 100 daia am scris cateva ) ms mult oricum :P
  15. Ch1NeZu

    Errori ...

    ma ajutat vyorel close topic :P
  16. [glow=red,2,300]=============================[FS]Dmv versiunea 1.0=======================================[/glow] Autor: Ch1NeZu Descriere: Este un filterscript cu o scoala de soferi Timp de lucru: 5 ore Versiune: 1.0 Forum: http://forum.romeonet.ro Locatie: Este un pickup langa cladirea paralela cu lspd Multumiri lu Vyorel care ma ajutat cu cateva erori [glow=red,2,300]============================ [FS]Dmv versiunea 1.0=======================================[/glow] [glow=red,2,300]====Download====[/glow] Amx file: pwn File: Comenzi /dmv Instalare: 1.Adaugati test.amx in folderul Filterscripts 2.Ducetiva in server.cfg si adaugati test la linia filterscripts SA NU VA AUD "lam mai vazut pe undeva" , "e de pe sa-mp.com" , "iai schimbat creditele" Absolut tot ce vedeti acolo e facut 100% de mine eu am scris fiecare litera/numar eu am facut toate checkpoint-urile oricum pana acum nam mai vazut nici-un filterscript cu dmv In versiunea urmatoare o sa incerc sa bag si sala... acum...doar traseul Este primul meu filterscript deci fiti blanzi
  17. Ch1NeZu

    Text Draw

    Uite asa #define Text_Logo "textul tau" forward logoanim(); forward logoanim2(); new Text:logo; La onplayerconnect logo = TextDrawCreate(500.0, 5.0,Text_Logo); TextDrawFont(logo, 0); TextDrawColor(logo,0xD2B586FF); TextDrawLetterSize(logo, 0.7, 1); TextDrawShowForPlayer(playerid, logo); La public's public logoanim() { TextDrawDestroy(logo); SetTimer("logoanim2",5000,false); } public logoanim2() { logo = TextDrawCreate(500.0, 5.0,Text_Logo); TextDrawFont(logo, 0); TextDrawColor(logo,0xD2B586FF); TextDrawLetterSize(logo, 0.7, 1); TextDrawShowForAll(logo); SetTimer("logoanim",5000,false); } Vezi daca merge
  18. cauta in gm SetPlayerSkin(playerid, 60); si mofica cu id-ul tau dar mai intai vezi la ce functie e
  19. daca ai pe linux ai grija ca streamer.so sa fie compatibil cu systemul adik vezi ce bits are 64bits sau 32bits
  20. pai tu cum vrei sa fie ? cand reintra pe srv sa aiba skinul care ii da la male si female si cand da f4 sa nu ii ramana skinul care il alege ? sau cum ca nam inteles
  21. dap eroarea aia e iti zice ca nu ai in pawno/include fisierul xStreamer.inc downloadeazal de unde ai luat si xstreamerul
  22. Sal ... incerc sa fac un filterscript cu DMV test si imi dau niste erori... C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(16 -- 17) : error 001: expected token: ")", but found ";" C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(18) : error 001: expected token: ";", but found "return" C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(22 -- 23) : error 029: invalid expression, assumed zero C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(25) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(27) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(33) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(44) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(50) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(56) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(62) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(68) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(74) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(80) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(86) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(92) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(98) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(104) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(110) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(116) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(122) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(128) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(134) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(140) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(146) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(152) : error 010: invalid function or declaration C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(158) : error 010: invalid function or declaration Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. liniile 16--17 , 18 public OnPlayerConnect(playerid) ( ---> linia 16 SetVehicleNumberPlate(examc, " School"); linia --> 17 return 1; ---> linia 18 } Liniile 22-23-25-27 public OnPlayerEnterCheckpoint(playerid) ( ----> linia 22 new string[128]; --> linia 23 new name[MAX_PLAYER_NAME]; if(CP[playerid]==200)//Exam_01 ---> linia 25 { if(IsPlayerInVehicle(playerid, 277)) --> linia 27 { DisablePlayerCheckpoint(playerid); CP[playerid] = 201; SetPlayerCheckpoint(playerid, 1432.4354,-1658.6343,13.1245, 5.0); } else --> linia 33 { SendClientMessage(playerid, COLOR_LIGHTBLUE,"Examen: Nu esti in masina!"); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Examen: Nu ai luat licenta de condus,incearca din nou !"); DisablePlayerCheckpoint(playerid); RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(277); SetVehicleNumberPlate(examc, " School"); TakingLesson[playerid] = 0; } } aproape toate erorile sunt de la else
  23. Ch1NeZu

    Problema Script

    e filterscript sau e in gm ? adauga new PlayerInfo[MAX_PLAYERS][pInfo]; daca e filterscript sau daca nu ai
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.