26.09.2010, 16:47
Hi,
i want to make that if in the co-driver place sit techer player can drive ,but if in the co-driver seat sit simple player or empty seat it will say that you can't drive without techare anybody knows how to do that ?
i'm trying that but i don't know hot make it ....
if(model == 545)
{
new seat = GetPlayerVehicleSeat(playerid);
if(seat == 1 && playerDB[playerid][sc] == 4)
{
SendClientMessage(playerid,0xD9E916FF,"Nive it works");
return 1;
} else {
SendClientMessage(playerid,RED,"You can't drive");
}
return 1;
}
Thanks for help
i want to make that if in the co-driver place sit techer player can drive ,but if in the co-driver seat sit simple player or empty seat it will say that you can't drive without techare anybody knows how to do that ?
i'm trying that but i don't know hot make it ....
if(model == 545)
{
new seat = GetPlayerVehicleSeat(playerid);
if(seat == 1 && playerDB[playerid][sc] == 4)
{
SendClientMessage(playerid,0xD9E916FF,"Nive it works");
return 1;
} else {
SendClientMessage(playerid,RED,"You can't drive");
}
return 1;
}
Thanks for help