14.08.2012, 07:14
Hello!
There is any way to ingame modify an .ini account if the player is offline?
Or to chek something in the .ini account if the player is offline?
Example: I was trying to chek last player's login with a command,but it is working only if the player is online.
There is any way to ingame modify an .ini account if the player is offline?
Or to chek something in the .ini account if the player is offline?
Example: I was trying to chek last player's login with a command,but it is working only if the player is online.
Код:
CMD:online(playerid, params[]) { new pLastOn[ 20 + 20 ]; new OnlineString[ 128 ]; new pLastOnName[ 24 ]; if ( sscanf( params, "u", params[ 0 ], params[ 1 ] ) ) return SendClientMessage( playerid, -1, "Usage: /online [id/name]"); GetPVarString( params[ 0 ], "On", pLastOn, sizeof pLastOn ); GetPlayerName( params[ 0 ],pLastOnName,sizeof(pLastOnName)); format( OnlineString,sizeof(OnlineString),"["REDSV"%s"BLUESV"] last Online time is "REDSV"%s.",pLastOnName,pLastOn); SCM(playerid,BLUES,OnlineString); return 1; }