[Ajuda]Salvamento de contas
#3

Jб esta no on player disconnect e no onplayerconnect.Olhe o onplayersave.


Код:
public OnPlayerDisconnect(playerid, reason)
{
    OnPlayerSave(playerid);
    new vehicleid = GetOwnedVehicleID(playerid);
    Conce[playerid] = 0;
    SavePlayerVehicle(playerid);
	TextDrawHideForPlayer(playerid, Time), TextDrawHideForPlayer(playerid, Date);
	CarColor[playerid][0] = 1;
	CarColor[playerid][1] = 1;
	VehicleInfo[vehicleid][vLock] = 0;
	VehicleInfo[vehicleid][vPRFLock] = 0;
	
	if (CarShopping[playerid] == true)
	{
		CarShopping[playerid] = false;
		DestroyVehicle(ShopCar[playerid]);
	    carbrowse[playerid] = 0;
 	}
Reply


Messages In This Thread
[Ajuda]Salvamento de contas - by Jean_Vitor - 14.11.2010, 12:43
Re: [Ajuda]Salvamento de contas - by []Fabricio[] - 14.11.2010, 12:52
Re: [Ajuda]Salvamento de contas - by Jean_Vitor - 14.11.2010, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)