Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************************************************************
- || ||
- || ||
- || jDealerShip System ||
- || ||
- || jDealerShip System v1.0 ||
- || ||
- || SA-MP 0.3x ||
- || Justin Roller ( [email protected] ) ||
- || www.forum.sa-mp.com ||
- || See the file 'readme.txt' for more information. ||
- || ||
- || ||
- ******************************************************************************************************************************/
- #include " a_samp "
- #include " zcmd "
- #define MAX_DEALER 10
- enum dInfo
- {
- Float:Dx,
- Float:Dy,
- Float:Dz,
- VirtualWorld,
- Interior
- }
- new DealerInfo[MAX_DEALER][dInfo];
- COMMAND:createdealer(playerid,params[])
- {
- for(new i = 0; i < sizeof(DealerInfo); i++)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- DealerInfo[i][VirtualWorld] = GetPlayerVirtualWorld(playerid);
- CreatePickup(1318,1,x,y,z,DealerInfo[i][VirtualWorld]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment