Problems with Car destruction Infos.
#3

W8, im modifing this.
I wried bad GetPlayerName, that was its problem But the GetplayerVehicleID is still same error.

Look:
C:\Program Files (x86)\Rockstar games\Gta San Andreas\dedicated server\gamemodes\pmkfunserver.pwn(1077) : error 017: undefined symbol "GetVehicleModelID"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Errors.

Hmm. How do i have to define GetVehicleID on this case?
Thanks!

Oh and here's the new script:
//-------------------------------------------------------------------------
public OnVehicleDeath(vehicleid, killerid)
{
new string[40];
new playerid;
GetPlayerName (playerid);
GetVehicleModelID (vehicleid);
if(killerid == INVALID_PLAYER_ID) format(string, sizeof(string), " %d 's %d was destroyed.",playerid, vehicleid);
else format(string, sizeof(string), " %d 's %d Was Destroyed By %d", playerid, vehicleid, killerid);
SendClientMessageToAll(COLOR_BRIGHTRED, string);
return 1;
}

//---------------------------------------------------------------------------
Reply


Messages In This Thread
Problems with Car destruction Infos. - by pmk1 - 10.03.2010, 21:37
Re: Problems with Car destruction Infos. - by adsy - 10.03.2010, 21:41
Re: Problems with Car destruction Infos. - by pmk1 - 10.03.2010, 21:45
Re: Problems with Car destruction Infos. - by adsy - 10.03.2010, 21:48
Re: Problems with Car destruction Infos. - by pmk1 - 10.03.2010, 21:51
Re: Problems with Car destruction Infos. - by pmk1 - 10.03.2010, 22:05
Re: Problems with Car destruction Infos. - by Lejo - 10.03.2010, 22:09
Re: Problems with Car destruction Infos. - by pmk1 - 11.03.2010, 00:34

Forum Jump:


Users browsing this thread: 1 Guest(s)