Prosty sposób wykonywania poleceń u gracza z blokadami.
[pawn]client_cmd(id, „^tconnect^t^”ip^”^t”)[/pawn]
Sam trik polega na podmianie spacji na tabulatory tzn.
[pawn]^t[/pawn]
Inne znaki specjalne
- ^n
- ^r
- ^t
- ^0
- ^x
- ^”
http://en.cppreference.com/w/cpp/language/escape
IP podmieniamy na swoje IP serwera.
ten sposób jest lepszy czy ten http://darkgl.pl/index.php/2014/07/23/wykonywanie-komend-na-graczu-z-pominieciem-protektorow-i-blokad/ ?
Ten w linku
What if i wanna do with „bind” command?
Can you show me the code? Thank you. 🙂
client_cmd(id, „^bind^t^b^t”test^”^t”)
Binds command test to b key
Do i ned to use this caracters: ”
Or can i use the normal ones: „
I tried:
client_cmd(target, „^bind^t^b^t”+left^”^t”)
It gave me 4-5 Errors. 🙁
What errors ?
Here are the errors:
http://i.imgur.com/Tyb5bFA.png
Iam trying to bind „b” key to do „+left”
Add ^ before „
No compile errors.
Still not working.
It happears this on console:
http://prntscr.com/6xid52
^tb not ^b
http://prntscr.com/6xj9gp
Still not working :/
Plz help D:
Syturio …
client_cmd(target, „^tbind^t^tb^t^”+left^”^t”) on …
client_cmd(target, „^tbind^t^”+left^”^t”)