View Single Post
  #1  
Old 12-21-2001, 05:12 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
with (getplayer(acc)

Hello, i want to learn how to use getplayer... is it like
if (playerchats&&strequals(#a,mhermher)) {
if (startswith(show stats,#c)) {
tokenize #c;
with (getplayer(#t(1))) {
showimg 200,@Server@#t(1)'s sword power: #v(playerswordpower),x,y;
}

will this like show the swordpower for the player i ásked for?
like if i say show stats STefan will ti show stefans swordpower?
same as this:

if (playerchats&&strequals(#a,mhermher)) {
if (startswith(control tag,#c)) {
tokenize #c;
with (getplayer(#t(1))) {
setplayerprop #g,#t(2);
}

this is like if i say control tag mhermher leet will my account get the tag leet?


This was just an example i just want to know how getplayer works
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote