Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new PickupLiftToRoofOfPoliceA,PickupLiftToRoofOfPoliceB;
- public OnGameModeInit()
- {
- PickupLiftToRoofOfPoliceA = CreateDynamicPickup(19198, 1, 288.8021,167.5294,1007.1719, 0);
- PickupLiftToRoofOfPoliceB = CreateDynamicPickup(19198, 1, -1642.7050,703.0914,38.2422, 0);
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == PickupLiftToRoofOfPoliceA)
- {
- if(PlayerDB[playerid][Job] == 1)
- {
- SetPlayerPos(playerid, -1645.5242,702.9838,38.2422);
- SetPlayerFacingAngle(playerid, 270.2412);
- }
- else
- {
- GameTextForPlayer(playerid, "~r~TIK POLICININKAMS", 3000, 3);
- }
- return 1;
- {
- else if(pickupid == PickupLiftToRoofOfPoliceB)
- {
- if(PlayerDB[playerid][Job] == 1)
- {
- SetPlayerPos(playerid, 288.7903,169.1736,1007.1719);
- SetPlayerFacingAngle(playerid, 356.1682);
- }
- else
- {
- GameTextForPlayer(playerid, "~r~TIK POLICININKAMS", 3000, 3);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment