Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.