Jump to content

vampir_MD

Membru
  • Posts

    443
  • Joined

  • Last visited

Everything posted by vampir_MD

  1. [glow=black,2,300]Vwepons[/glow] [glow=black,2,300]Informati:[/glow] Este un FS micut de arme cind intri intro masina dai ctrl si iti apare un menu cu arme , pe care poti sa le cumperi si se deschide porbagaju! [glow=black,2,300]Poze:[/glow] [img width=500 height=375]http://img809.imageshack.us/img809/285/gtasa2011062416210075.jpg [img width=500 height=375]http://img847.imageshack.us/img847/2015/gtasa2011062416210735.jpg [glow=black,2,300]Download:[/glow] PWN + AMX [glow=black,2,300]Credits:[/glow] Vampir_MD !!=-[GZS]stuntman-=!! - Ma ajutat la un lucru care il voi aplica in versiune urmatoare [glow=black,2,300]Test[/glow] Ryder_RO
  2. tare 5/5
  3. E tot ce vrei daca e postat e pentru toti )
  4. vampir_MD

    Stock

    E doar un ex: Ai neon si vrei ca cand se da jos din masina sa dispara sau cind moare. ca sa nu faca bug pe sv si sa nu impli gm numai cu neon il faci in stock si il pui unde vrei stock neon(playerid) { DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon11")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon12")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "interior")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "interior1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "back")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "back1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "front")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "front1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "undercover")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "undercover1")); DeletePVar(playerid, "Status"); }
  5. Probleme GodFather
  6. Ai schimbat numai stilu la scris si gata 4/5
  7. vampir_MD

    [MAP] Vdrift

  8. Nus roman
  9. Eu explic cum sa faci sa-ti mearga Strtok in ZCMD Nu cum sa uzezi zcmd
  10. Aratene ce include folosesti intra in gm si sus include
  11. Tare da mai trebue de lucrat la dinsu da asa e super 5/5
  12. Apui asta insemna ca ai router fati port-forwarding
  13. ai incurcat tu ceva arata codu
  14. Tare 5/5
  15. Frumos 5/5 ideea originala
  16. Ai bagat ZCMD
  17. Ai uitata sa pui }
  18. Frumos 5/5
  19. Da cineva asta nu situ si ii vine mai usor sa schimbe cmdtext cu params
  20. e frumos 5/5
  21. [glow=black,2,300]Cum sa faci sa-ti mearga Strtok in ZCMD[/glow] Aici este comands /pm va voi explica cum sa il faceti pentru ZCMD Sa incepem Asa arata comando in cmdtext if(strcmp("/pm", cmd, true) == 0) { new idx,id; new tmp[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new Message[256]; new iName[MAX_PLAYER_NAME+1]; tmp = strtok(cmdtext,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID"); 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: %s",Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself"); } return 1; } Acum sa incepem sal facem pentru ZCMD COMMAND:pm(playerid,params[]) Il punem cum trebuie sa fie pentru ZCMD eu am pus COMMAND da poti sa pui CMD:pm mai prescurtat { new idx,id; new tmp[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new Message[256]; new iName[MAX_PLAYER_NAME+1]; tmp = strtok(params,idx); Aici cum vedeti damu nu se mai pune cmdtext punem doar params if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } gMessage = strrest(params,idx); Aici la fel se pune params nu cmdtext if(!strlen(gMessage)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID"); 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: %s",Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself"); } return 1; } Gata am terminat e foarte usor Aici comando Complet COMMAND:pm(playerid,params[]) { new idx,id; new tmp[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new Message[256]; new iName[MAX_PLAYER_NAME+1]; tmp = strtok(params,idx); if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } gMessage = strrest(params,idx); if(!strlen(gMessage)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID"); 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: %s",Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself"); } return 1; } Daca sunt ceva nelamuriri spuneti si voi da edit
  22. Sati iai host
  23. vampir_MD

    [MAP] Sealife

    Tare mapa 5/5
  24. Cred ca te ai incurcat Da nui nimik
×
×
  • 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.