Guest User

Untitled

a guest
Jan 19th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. new pracapolicja;
  2.  
  3.  
  4. public OnPlayerPickUpPickup(playerid, pickupid)
  5. {
  6. if(pickupid == pracapolicja)
  7. {
  8.  
  9. new gracz;
  10.  
  11. policjant[gracz] = 2;
  12. SetPlayerSkin(playerid,267);
  13. GivePlayerWeapon(playerid, 24 , 100);
  14. SendClientMessage(playerid,0xAFAFAFAA,"Zatrudniłeś się jako Policjant");
  15.  
  16. }
  17.  
  18. return 1;
  19. }
  20.  
  21. public OnGameModeInit()
  22. {
  23.  
  24. //Praca Policjant Pickup
  25.  
  26. pracapolicja = CreatePickup(1274 , 1 , -2029.5096,153.7565,28.8359, -1);
  27.  
  28. return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment