Guest User

Untitled

a guest
Jul 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. public OnPlayerSpawn(playerid)
  2. {
  3. if(IsPlayerNPC(playerid))
  4. {
  5. SetPlayerSkin(playerid, 28);
  6. SetPlayerPos(playerid, 2084.8064,-1582.5946,13.4408); // Bot);
  7. SetPlayerFacingAngle(playerid, 336.4998);
  8. ApplyAnimation(playerid, "DEALER", "DEALER_IDLE", 4.1, 0, 1, 1, 1, 0, 1);
  9. new Text3D:label = Create3DTextLabel("Wanna get some coke nigga?", COLOR_BLUE, 30.0, 40.0, 50.0, 40.0, 0);
  10. Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.1);
  11. }
  12. else
  13. {
  14. SetPlayerPos(playerid, 2084.8809,-1565.4945,13.3551);
  15. SetPlayerColor(playerid, 0xFFFFFF00);
  16. GivePlayerMoney(playerid, 10000);
  17. }
  18. return 1;
  19. }
Add Comment
Please, Sign In to add comment