1
mIRC/pawn Scripting / Re: A Problem
« on: January 18, 2010, 04:38:47 pm »Who said no irc support .. pawn server supports all rcons that std server does.thats great, but I dont know anything about pawn scripting language, I guess ill start looking for tutsBut we have no support for plugins so no IRC echo. I will stick with mIRC
For example, I want to save the money of the person who gets out of the server so the scripts can load it back when he gets back to the server, maybe i could work with the money change signal =PBut we have no support for plugins so no IRC echo. I will stick with mIRCI AGREE!
but after fixing this problem, another problem appeared its in the part event..
I cant get any information about the one who left the server like( cash, health, name( $3 only works but $vcmp.name($1,$2) doesnt work ) )
look at this...Code: [Select]on *:SIGNAL:vcmp.player.part:{
; $1 = ServerID, $2 = PlayerID, $3 = PlayerName, $4 = ReasonID, $5 = IP
echo Server ID:[ $1 ]
echo Player ID:[ $2 ]
echo Name:[ $vcmp.name($1,$2) ]
echo Name:[ $3 ]
echo Cash:[ $vcmp.cash($1,$2) ]
.timer -m 1 25 vcmp.playerlistupdate $1
!.signal vcmp.part $1-
}
and this what I've gont in my mirc screen... :/Code: [Select]Server ID:[ 1 ]
my cash was 5000, it gets the server id and my id but it doesnt get the money or the name( $vcmp.name($1,$2) ) so?...
Player ID:[ 0 ]
Name:[ Unknown ]
Name:[ [DU]Mr_Usaji ]
Cash:[ 0 ]
any solutions?
note: I have a soliution, simply its making hash tables which saves names, money, health, etc but I think it would be laggy solution so if any one got a better idea please share it.
Sincerecly,
Usaji
You won't be able to send this information on the part signal apart from the players name and ID because the information regarding that player is cleared from the player pool inside the dll.
Why would you need to retrieve this information anyway?
Note: I remember when before R2 when i was using the same script i was able to get all the info i wanted =P, IDK what happened now
Thanks for the help Force =)