29.03.2008, 16:09
Quote:
|
Originally Posted by Fire_in_the_hole
It look intresting, but please can you give us an example of it?
|
Code:
#define DRIVER_LICENSE 1
#define COLOR_RED 0xAA3333AA
...
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(!IsItemInBag(playerid,DRIVER_LICENSE)) SendClientMessage(playerid,COLOR_RED,"Driing without license");
return 1;
}

