13.03.2015, 17:11
Quote:
Then look at some tutorials
Like this: https://sampforum.blast.hk/showthread.php?tid=485633 or ****** for some other |
__________________________________________________ ___________
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?