[help] playerid
#4

Quote:
Originally Posted by Marc_307
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\race.pwn(111) : error 017: undefined symbol "playerid"
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
    SendClientMessage(playerid,RED,"Your car is destroyed!");//111
    return 1;
}
That's because the OnVehicleDeath callback does not have a playerid defined! So you can't send the message to a playerid which isn't set
Reply


Messages In This Thread
[help] playerid - by Marc_307 - 08.07.2009, 14:50
Re: [help] playerid - by refshal - 08.07.2009, 14:55
Re: [help] playerid - by Marc_307 - 08.07.2009, 15:01
Re: [help] playerid - by JaTochNietDan - 08.07.2009, 15:03
Re: [help] playerid - by Marc_307 - 08.07.2009, 15:06
Re: [help] playerid - by JaTochNietDan - 08.07.2009, 15:08
Re: [help] playerid - by Correlli - 08.07.2009, 15:09
Re: [help] playerid - by Jefff - 08.07.2009, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)