втовлял разные темы отсюда - /instructors , /equip и вот чё теперь выдаёт из за чего это? M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(1929) : error 004: function "SafeGivePlayerMoney" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(1958) : error 004: function "SafeGivePlayerMoney" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(1994) : error 004: function "SafeResetPlayerWeapons" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(1995) : error 004: function "SafeGivePlayerWeapon" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2022) : error 004: function "SafeResetPlayerWeapons" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2275) : warning 219: local variable "health" shadows a variable at a preceding level M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2486) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2497) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2509) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2513) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2525) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2529) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2533) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2537) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2541) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2545) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2549) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2553) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2565) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2569) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2573) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2577) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2581) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2593) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2597) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2601) : error 004: function "PlayerToPoint" is not implemented M:\K1lJy\GTASERVER\SA-RRPS\gamemodes\SA-RRPSreg.pwn(2613) : error 004: function "PlayerToPoint" is not implemented
Как-бе он написал (13117), чтобы мы поняли где строка, на которую идут жалобы
-KloUn, эта ошибка из-за того, что у тебя не объявлена переменная timesrobbed (можешь впринципе вообще убрать это, но как я понял, значение 1 - банк ограблен и стоит таймер, который блокирует повторное ограбление, пока не пройдёт время). Когда копировал откуда то, не всё скопировал. Если не сможешь найти, напишу отдельно
[pwn] public OnPlayerConnect(playerid) { clock(); return 1; }
public clock(){ new Text:Clock; TextDrawDestroy(Clock); new hour,minute,second; new string[256]; gettime(hour,minute,second); if (minute <= 9){format(string,25,"%d:0%d",hour,minute);} else {format(string,25,"%d:%d",hour,minute);} TextDrawHideForAll(Clock); Clock = TextDrawCreate(547.0, 24.0, string); TextDrawLetterSize(Clock, 0.6, 1.8); TextDrawFont(Clock, 2); TextDrawSetOutline(Clock, 2); TextDrawShowForAll(Clock); SetTimer("clock",1000,0); if (hour == 0){SetWorldTime(0);} if (hour == 1){SetWorldTime(1);} if (hour == 2){SetWorldTime(2);} if (hour == 3){SetWorldTime(3);} if (hour == 4){SetWorldTime(4);} if (hour == 5){SetWorldTime(5);} if (hour == 6){SetWorldTime(6);} if (hour == 7){SetWorldTime(7);} if (hour == 8){SetWorldTime(8);} if (hour == 9){SetWorldTime(9);} if (hour == 10){SetWorldTime(10);} if (hour == 11){SetWorldTime(11);} if (hour == 12){SetWorldTime(12);} if (hour == 13){SetWorldTime(13);} if (hour == 14){SetWorldTime(14);} if (hour == 15){SetWorldTime(15);} if (hour == 16){SetWorldTime(16);} if (hour == 17){SetWorldTime(17);} if (hour == 18){SetWorldTime(18);} if (hour == 19){SetWorldTime(19);} if (hour == 20){SetWorldTime(20);} if (hour == 21){SetWorldTime(21);} if (hour == 22){SetWorldTime(22);} if (hour == 23){SetWorldTime(23);} if (hour == 24){SetWorldTime(24);} return 1; }[/pwn]
когда ввожу /tod время сбрасывается. как сделать чтобы можно было менять через /tod и оно меняло время