Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- if(ispassenger == 0)
- {
- new Float:Pos[3];
- GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
- if((PlayerInfo[playerid][pFrakcja] != 1) && (vehicleid == radiolka[0] || vehicleid == radiolka[1] || vehicleid == radiolka[2]))
- {
- SetPlayerPos(playerid, Pos[0], Pos[1] + 0.01, Pos[2]);
- return 1;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment