Advertisement
Guest User

Untitled

a guest
Oct 7th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #include <a_samp>
  2. #define START_MONEY 500
  3.  
  4. main() {}
  5.  
  6. public OnGameModeInit ()
  7. {
  8. return 1;
  9. }
  10.  
  11. public OnPlayerConnect(playerid)
  12. {
  13. return 1;
  14. }
  15.  
  16. public OnPlayerSpawn(playerid)
  17. {
  18. new Player_Name[24];
  19. GetPlayerName(playerid, Player_Name, sizeof(Player_Name));
  20. GivePlayerMoney(playerid, START_MONEY);
  21.  
  22. new string[64];
  23. format(string, sizeof(string), "Welcome %s, take that $500 for start!", Player_Name);
  24. SendClientMessage(playerid, 0xFFFF00FF, string);
  25. return 1;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement