08.06.2009, 19:19
pawn Код:
new nasaprof[2];
pawn Код:
if(vehicleId == nasaprof[0])
{
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
if(PlayerInfo[playerid][pRank] == 4)
{
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not a Green Lake's Professor!");
RemovePlayerFromVehicle(playerid);
}
}
}
pawn Код:
nasaprof[0] = CreateVehicle(500,203.8072,1870.2175,13.2512,270.1880,1,1,0,800);// Professor car 1
nasaprof[1] = CreateVehicle(500,147.9151,1830.3213,17.7554,89.0163,1,1,0,800);// Professor car 2