11.07.2013, 21:28
Hello,
I have a problem at the entrance to the car under public OnPlayerEnterVehicle.
I did that only members of the organization can drive a vehicle,
but my problem is that someone else can not go G!
How to do that someone else can be front passenger and not the driver?
if someone can give that part of the script?
Pictures:
http://www.zaslike.com/files/07lqh25nq1eluj9hev5.png
I have a problem at the entrance to the car under public OnPlayerEnterVehicle.
I did that only members of the organization can drive a vehicle,
but my problem is that someone else can not go G!
How to do that someone else can be front passenger and not the driver?
if someone can give that part of the script?
Код:
Script: if(IsALcnCar(vehicleid)) { if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 6) { } else { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); GameTextForPlayer(playerid, "~w~La Cosa Nostra", 5000, 4); } }
http://www.zaslike.com/files/07lqh25nq1eluj9hev5.png