08.08.2010, 03:18
I found this
so just add
below it, But you'll have to go through the entire script for "pCarKey" and everyone you see add ANOTHER line with the exact same coding but just put [pPcarkey3] instead..
pawn Код:
if(PlayerInfo[playerid][pPcarkey] != 999)
{
strmid(CarInfo[carkey1][cOwner],string,0,strlen(string),255);
OnPropUpdate(4);
SendClientMessage(playerid, TEAM_GROVE_COLOR,"* First Vehicle ownership changed successfuly!");
}
if(PlayerInfo[playerid][pPcarkey2] != 999)
{
strmid(CarInfo[carkey2][cOwner],string,0,strlen(string),255);
OnPropUpdate(4);
OnPropTextdrawUpdate(1, housekey);
SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Second Vehicle ownership changed successfuly!");
}
pawn Код:
if(PlayerInfo[playerid][pPcarkey3] != 999)
{
strmid(CarInfo[carkey3][cOwner],string,0,strlen(string),255);
OnPropUpdate(4);
OnPropTextdrawUpdate(2, housekey);
SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Second Vehicle ownership changed successfuly!");
}

