JustinRoller

JDL

Jul 28th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.19 KB | None | 0 0
  1. /******************************************************************************************************************************
  2. ||                                                                                                                          ||
  3. ||                                                                                                                          ||
  4. ||                                                 jDealerShip System                                                       ||
  5. ||                                                                                                                          ||
  6. ||                                              jDealerShip System v1.0                                                     ||
  7. ||                                                                                                                          ||
  8. ||                                                      SA-MP 0.3x                                                          ||
  9. ||                                         Justin Roller   ( [email protected] )                                         ||
  10. ||                                                 www.forum.sa-mp.com                                                      ||
  11. ||                                        See the file 'readme.txt' for more information.                                   ||
  12. ||                                                                                                                          ||
  13. ||                                                                                                                          ||
  14. ******************************************************************************************************************************/
  15.  
  16. #include                                        "       a_samp      "
  17. #include                                        "        zcmd       "
  18.  
  19. #define MAX_DEALER 10
  20.  
  21. enum dInfo
  22. {
  23.     Float:Dx,
  24.     Float:Dy,
  25.     Float:Dz,
  26.     VirtualWorld,
  27.     Interior
  28. }
  29. new DealerInfo[MAX_DEALER][dInfo];
  30.  
  31. COMMAND:createdealer(playerid,params[])
  32. {
  33.     for(new i = 0; i < sizeof(DealerInfo); i++)
  34.     {
  35.         new Float:x,Float:y,Float:z;
  36.         GetPlayerPos(playerid,x,y,z);
  37.         DealerInfo[i][VirtualWorld] = GetPlayerVirtualWorld(playerid);
  38.         CreatePickup(1318,1,x,y,z,DealerInfo[i][VirtualWorld]);
  39.     }
  40.     return 1;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment