07.01.2008, 13:55
Quote:
Originally Posted by [TST
Christian ]
what have you done to enter the tram? when i put trams in my GM i can not drive them, only enter as passenger i read the whole script and dont find it |
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(IsKeyJustDown(KEY_SECONDARY_ATTACK,newkeys,oldkeys)){ for(new j = 0; j < MAX_VEHICLES; j++) { switch(GetVehicleModel(j)) { case 564,501,464,441,449: { if(GetDistancePlayerToVehicle(playerid,j) <= 3) { PutPlayerInVehicle(playerid, j, 0); } } } } } return 1; } IsKeyJustDown(key, newkeys, oldkeys) { if((newkeys & key) && !(oldkeys & key)) return 1; return 0; }
Quote:
Originally Posted by helderpostiga1
Quote:
Thank you |