Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!strcmp("/buy", cmdtext))
- {
- if (IsPlayerInRangeOfPoint(playerid, 5.0, -28.7746, -185.1358, 1003.5469, 174.9119))
- {
- SendClientMessage(playerid,COLOR_WHITE,"List of items to purchase: Mask - 10000");
- }
- else
- {
- SendClientMessage(playerid,COLOR_WHITE,"You're not at the location");
- }
- return 1;
- }
- YCMD:buy(playerid, params[], help)
- {
- if (IsPlayerInRangeOfPoint(playerid, 5.0, -28.7746, -185.1358, 1003.5469, 174.9119)) return
- SendClientMessage(playerid,COLOR_WHITE,"List of items to purchase: Mask - 10000");
- if (IsPlayerInRangeOfPoint(playerid, 5.0, -28.7746, -185.1358, 1003.5469, 174.9119)) return
- SendClientMessage(playerid,COLOR_WHITE,"You're not in the correct area");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement