30.11.2012, 00:42
(
Последний раз редактировалось Mikkel_RE; 02.12.2012 в 11:43.
)
delete
if(newkeys & KEY_CROUCH && !(oldkeys & KEY_CROUCH)) //horn { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(PlayerToPoint(15.0,playerid,1544.3,-1627.3,13.3)) //near barrier { if(IsACop(playerid) || PlayerInfo[playerid][pAdmin] & ADMIN_ACCESS) { if(barrier_to_garage == 0) { SetObjectRot(lspd_garage_barrier1, 180, 180, 90, 1.5);// 1.5 Try this and see if it works. barrier_to_garage = 1; return 1; } else { SetObjectRot(lspd_garage_barrier1, 180, 90, 90, 1.5);//1.5 Try this and see if it works. barrier_to_garage = 0; return 1; } } }
C:\Users\vMikkelReimer\Desktop\Samp stuff for 0,3d June-May2012\Samp crap 2012\gf_nov28.pwn(6713) : warning 202: number of arguments does not match definition C:\Users\vMikkelReimer\Desktop\Samp stuff for 0,3d June-May2012\Samp crap 2012\gf_nov28.pwn(6719) : warning 202: number of arguments does not match definition
if(newkeys & KEY_CROUCH && !(oldkeys & KEY_CROUCH)) //horn { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(PlayerToPoint(15.0,playerid,1544.3,-1627.3,13.3)) //near barrier { if(IsACop(playerid) || PlayerInfo[playerid][pAdmin] & ADMIN_ACCESS) { if(barrier_to_garage == 0) { MoveObject(lspd_garage_barrier1, 1544.7,-1631, 13.4, 180, 180, 90, 1.5); barrier_to_garage = 1; return 1; } else { MoveObject(lspd_garage_barrier1, 1544.7,-1631, 13.4, 180, 90, 90, 1.5); barrier_to_garage = 0; return 1; } } }
CLOSED: 1544.7,-1631, 13.4, 180, 90, 90 OPENED: 1544.7,-1631, 13.4, 180, 180, 90