1.основа хз счас это обыч Later RP
2.Код
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382) : error 001: expected token: "-identifier-", but found "new"
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6384) : error 029: invalid expression, assumed zero
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382) : warning 204: symbol is assigned a value that is never used: "_A"
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382 -- 6389) : warning 209: function "cmd_fr" should return a value
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382 -- 6390) : error 010: invalid function or declaration
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382 -- 6393) : error 010: invalid function or declaration
C:\Users\Ñåðãåé\Desktop\later\gamemodes\Later.pwn(6382 -- 6393) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.10.6 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
3.Код
CMD:fr(playerid,params[])
{
if(PlayerInfo[playerid][pMuteTime]/* <<ïðîâåðêà íà ìóò ìåíÿåì íà ñâîþ*/) return SendClientMessage(playerid,COLOR_GREY,"Ó âàñ áàí ÷àòà");
if(PlayerInfo[playerid][pJob] != JOB_TAXI/*<< ïðîâåðêà íà ðàáîòó, ìåíÿåì íà ñâîå, 6 èä ðàáîòû*/) return SendClientMessage(playerid,COLOR_GREY,"Âû íå ñîñòîèòå â ñåìüå");
if(sscanf(params,"s",params)) return SendClientMessage(playerid, COLOR_GREY, "Èñïîëüçóéòå: /fr [text]");
new stringer[128];
foreach(new i:Player);
{
if(PlayerInfo[i][pJob] == PlayerInfo[playerid][pJob])/* << ïðîâåðêà íà ñâîþ ïåðåìåííóþ ðàáîòû èãðîêà*/
{
format(stringer,128,"[TAXI] Òàêñèñò %s: %s", PlayerName[playerid], params);
SendClientMessage(playerid,COLOR_YELLOW,stringer);
}
}
stringer[0]=EOS;
format(stringer, sizeof(stringer), "%s ïåðåäàë ñîîáùåíèå íà âîëíó òàêñèñòîâ", PlayerName[playerid]/*<< ìåíÿåì íà ñâîå ïîëó÷åíèå íèêà*/);
ProxDetector(5.0, playerid, stringer, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}
4.Удачи, счастья, баблишка