View Single Post
  #5  
Old 12-22-2001, 01:37 AM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Re: with (getplayer(acc)

Quote:
Originally posted by mhermher
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
Clear your Inbox.
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote