Jump to content

Toggle %s Deathrow Romania Counter-Strike:Global Offensive

www.Deathrow.ro - Forum - ONLINE [DM+FFA] DM.DeathRow.ro - ONLINE [DM+FFA HS Only] HS.DeathRow.ro - ONLINE [Retakes] Retake.DeathRow.ro - ONLINE [Retakes] Retake2.DeathRow.ro - ONLINE [Surf] Surf.DeathRow.ro - ONLINE


Photo

Problema plugin CSDM /guns

- - - - -

  • Please log in to reply
2 replies to this topic

#1
B1 .

B1 .

    Member

  • New Member
  • 12 posts
  • 8 topics
  • Joined 10-January 17
  • Country: Country Flag

Am un server de war3+respawn. Problema e ca atunci cand un player isi alege meniul de arme, el isi poate folosi comanda de guns la nesfarsit. Mai exact, daca il duce capul, poate sa-si faca bind, si dupa ce termina glonatele la o arma, poate lua imediat o noua arma. Aveti idee cum pot modifica astfel incat playerul isi alege armele respective, sa nu mai poata folosi comanda /guns? SAU, spuneti-mi cum o pot scoate. 

Multumesc

 



#2
Harmonica

Harmonica

    Ultras Member

  • Membru
  • 360 posts
  • 10 topics
  • Joined 03-May 16
  • Country: Country Flag

Lasa si tu .sma-ul aici de la pluginul tau. Sau, ca sa nu zici ca-ti furam scriptul, deschide tu .sma-ul cu un editor:

public plugin_init(){

// Aici ar trebui sa gasesti comanda si functia ei. Ex:
   register_concmd( "say /guns", cmdGuns, bla bla)
}
// Unde am scris eu cmdGuns, se afla functia aia; o cauti dupa nume si-mi dai tot scriptul, de la inceput, pana la sfarsit

Ex:

public cmdGuns(id){ // copiezi de aici


} // pana aici si-mi trimiti mie printr-un PM

Edited by Harmonica, 10 January 2017 - 08:18 PM.


#3
B1 .

B1 .

    Member

  • Topic Starter

  • New Member
  • 12 posts
  • 8 topics
  • Joined 10-January 17
  • Country: Country Flag

Am rezolvat. Mersi frumos pentru ajutor.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users