mysql onplayerlogin
#2

Well, I guess you already have a /login command, just do something like this
pawn Код:
if (strcmp(cmdtext, "/login", true) == 0)
{

  [...]

  OnPlayerLogin(playerid);
  return 1;
}
and somewhere else in your script
pawn Код:
stock OnPlayerLogin(playerid)
{
  // add your code here
  // you don't need to make it public unless you want to put it in a timer
}
Reply


Messages In This Thread
mysql onplayerlogin - by Think - 17.03.2009, 13:26
Re: mysql onplayerlogin - by [RP]Rav - 17.03.2009, 14:05
Re: mysql onplayerlogin - by MenaceX^ - 17.03.2009, 14:22
Re: mysql onplayerlogin - by Think - 17.03.2009, 14:54
Re: mysql onplayerlogin - by Think - 17.03.2009, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)