18.01.2010, 22:16
Hi, i have this carowner ship thing, and i want it to send a message to the owner of the car everytime his car gets destroyed, could anybody tell me how to message him?
Right now it messages the killer of the car.
Right now it messages the killer of the car.
pawn Код:
new carownerrr;
carownerrr = PlayerInfo[vehicleid][pCarKey]; // I guess here is the problem, as i added "vehicleid" it should really say "playerid"
SendClientMessage (DynamicCars[carownerrr][cOwner], COLOR_RED, "Your car got destroyed.");