Problem...
#1

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
Reply
#2

anybody knows ?
Reply
#3

How does it wont work?
errors or just nothing happens?
Reply
#4

just nothing happends i need to get who sits near me when i'm driver but i don'w know how to do that... :/
Reply
#5

I dont know how this Func need to work but try to make test cmd

/test

printf("Seat: %d",GetPlayerVehicleSeat(playerid));

and see server log
Reply
#6

it shows where i sit but i need to see if anybodyt in the co-driver seat.. :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)