Getting playerid in onvehicledeath
#1

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.
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.");
Reply


Messages In This Thread
Getting playerid in onvehicledeath - by Perker12345 - 18.01.2010, 22:16
Re: Getting playerid in onvehicledeath - by Tony1337 - 18.01.2010, 22:44
Re: Getting playerid in onvehicledeath - by Perker12345 - 19.01.2010, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)