12.07.2012, 14:58
You would have to save it to the player's file if you want to save it.
Here's how you would do it though.
EDIT: Whatever you set PackageLoading[playerid] to, that's the amount of time the player has to wait. Example: 60000 is wait 60 seconds. I'm sure you already knew this but just letting you know.
Here's how you would do it though.
pawn Код:
public OnPlayerDisconnect(playerid)
{
//Save to user file (PackageLoading[playerid])
return 1;
}
public OnPlayerConnect(playerid)
{
PackageLoading[playerid] = //Get Players User file and read.
return 1;
}