- เครดิต
- 69
- ความรู้
-
- เงิน $
-
- ความดี
-
|
- forward scw1(playerid);
- public scw1(playerid)
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "กำลังตัดไม้!!")
- TogglePlayerControllable(playerid,0);//แช่แข็ง
- GivePlayerWeapon (playerid,341,5000);
- SetTimerEx("scw4", 2000, 0, "d", playerid);//รอสักครู่
- return 1;
- }
- forward scw2(playerid);
- public scw2(playerid)
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "เหลืออีก 5 วิ!!")
- TogglePlayerControllable(playerid,0);
- SetTimerEx("scw4", 2000, 0, "d", playerid);//?????????
- return 1;
- }
- forward scw3(playerid);
- public scw3(playerid)
- {
- SendClientMessage(playerid, COLOR_LIGHTGREEN, "ตัดไม้เสร็จสิ้น!! เอาไม้ไปส่ง")
- RemovePlayerWeapon(playerid, 341);
- SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
- TogglePlayerControllable(playerid,1);//???????????
- return 1;
- }
- forward scw4(playerid);
- public scw4(playerid)
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "รอสักครู่!!")
- TogglePlayerControllable(playerid,0);//???????
- return 1;
- }
คัดลอกไปที่คลิปบอร์ด |
|