13.12.2010, 07:29
Haha! He finally needs my help, easy as it is however...
Let me know how that works for ya.
pawn Код:
public OnPlayerFinishMission(playerid)
{
if(!strmatch(VehicleInfo[vehicleid][Owner],GetName(playerid)) && VehicleInfo[vehicleid][Ownable] == 1) (error line)
{
SendClientMessage(playerid, COLOR_GREEN,"Bonus for using private vehicle: $2000");
GivePlayerMoney(playerid, 2000);
}
// other stuff
return 1;
}