- เครดิต
- 773
- ความรู้
-
- เงิน $
-
- ความดี
-
|
- if(strcmp(cmd,"/¢Ø´",true)==0)
- {
- if(PlayerToPoint(10, playerid,-1505.4954,1374.2258,3.8537)) // ¾Ô¡Ñ´
- {
- if(IsPlayerConnected(playerid))
- {
- new amen = 1 + random (5);
- if(IsPlayerInAnyVehicle(playerid))
- {
- SendClientMessage(playerid, COLOR_GREY, " ŧö¡è͹¤ÃѺ !");
- return 1;
- }
- if(SpamAmen[playerid] >= MAX_SPAM)
- {
-
- SendClientMessage(playerid,COLOR_WHITE," ¢Ø´ä´é payday ÅèÐ 1 ¤ÃÑé§ à·èÒ¹Ñé¹ ! ");
- return 1;
- }
- SpamAmen[playerid] += 1800;
- if(IsPlayerConnected(playerid))
- {
- if(amen == 1)
- {
- GivePlayerWeapon(playerid, 31, 100);
- SendClientMessage(playerid, 0x8DC90FF, " ¤Ø³à¨Í M4? ¨Ò¡à¡Áà¤ÒÃìàµÍÃì(à¡ÕèÂÇäáѹÍèÐ) !");
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "** %s ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- if(amen == 2)
- {
- GivePlayerWeapon(playerid, 24, 500);
- SendClientMessage(playerid, 0x8DC90FF, " ¤Ø³à¨Í »×¹¤Ùè㨠¢Í§¤¹¢éÒ§ºéÒ¹ - -è !");
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "** %s ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- if(amen == 3)
-
- {
- new mamen = 2000 + random (100000);
- format(string, sizeof(string), "* ¤Ø³à¨ÍÊÁºÑµÔÁËÒÈÒÅ $%d.", mamen);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
- SafeGivePlayerMoney(playerid, mamen);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "** %s ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- if(amen == 4)
- {
- new mamen = 2000 + random (5000);
- format(string, sizeof(string), "* ¤Ø³à¨ÍàÈÉà§Ô¹ $%d.", mamen);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
- SafeGivePlayerMoney(playerid, mamen);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "** %s ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- if(amen == 5)
- {
- new mamen = 2000 + random (10000);
- format(string, sizeof(string), "* ¤Ø³à¨Í·Í§ÃÒ¤Ò $%d.", mamen);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
- SafeGivePlayerMoney(playerid, mamen);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "** %s ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ¢Ø´à¢éÒä» ", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " äÁèä´éÍÂÙè㹨ش¢Ø´ÊÁºÑµÔ !");
- return 1;
- }
- }
- return 1;
- }
คัดลอกไปที่คลิปบอร์ด
แก้พิกัดจุดที่จะขุดที่
if(PlayerToPoint(10, playerid,-1505.4954,1374.2258,3.8537)) // ¾Ô¡Ñ´
นะครับ
|
|