OnPlayerDisconnect Problem
#7

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Then look at some tutorials

Like this: https://sampforum.blast.hk/showthread.php?tid=485633

or ****** for some other
My code is here
__________________________________________________ ___________
public OnPlayerDisconnect(playerid, reason)
{
if(PlayerInfo[playerid][pVeh] != 0)
{
DestroyVehicle(PlayerInfo[playerid][pVeh]);
}
return 1;
}

public OnPlayerLogin(playerid)
{
if(IsPlayerConnected(playerid))
{
PlayerInfo[playerid][pVeh] = cache_get_row_int(0,34,handle);
CreateVehicle(PlayerInfo[playerid][pVeh], 1558.9827, -2255.3311, 13.1182, 90.000, -1, -1, 60);
}
return 1;
}
__________________________________________________ ___________________________


were is problem for destroy vehicle?
Reply


Messages In This Thread
OnPlayerDisconnect Problem - by mamalzeus - 11.03.2015, 16:01
AW: OnPlayerDisconnect Problem - by Kaliber - 11.03.2015, 16:02
Re: OnPlayerDisconnect Problem - by mamalzeus - 11.03.2015, 16:16
AW: OnPlayerDisconnect Problem - by Kaliber - 11.03.2015, 16:19
Re: OnPlayerDisconnect Problem - by mamalzeus - 11.03.2015, 16:28
AW: Re: OnPlayerDisconnect Problem - by Kaliber - 11.03.2015, 16:30
Re: AW: Re: OnPlayerDisconnect Problem - by mamalzeus - 13.03.2015, 17:11

Forum Jump:


Users browsing this thread: 2 Guest(s)