18.09.2017, 04:27
almost the same:
Код HTML:
C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1307) : error 004: function "ProxDetectorVw" is not implemented C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1310) : warning 217: loose indentation C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1332) : error 004: function "ProxDetector" is not implemented C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1342) : warning 217: loose indentation C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1362) : error 004: function "ProxDetectorVw" is not implemented C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1376) : warning 217: loose indentation C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1396) : error 004: function "ProxDetectorVw" is not implemented C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1411) : warning 217: loose indentation C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1431) : error 004: function "ProxDetectorVw" is not implemented Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
PHP код:
ProxDetectorVw(30.0,playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
}
return 1;
}
CMD:do(playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You did not log in yet !");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /do [action]");
return 1;
}
format(string, sizeof(string), "* %s %s", sendername, params);
ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
printf("%s", string);
}
return 1;
}
CMD:b(playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pBanished] == 1)
{
SendClientMessage(playerid, COLOR_GREY, "YOU CAN'T DO SHIT!");
return 1;
}
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /b [local ooc chat]");
return 1;
}
format(string, sizeof(string), "%s Says: (( %s ))", sendername, params);
ProxDetectorVw(20.0,playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
printf("%s", string);
}
return 1;
}
CMD:c(playerid, params[])
{
return cmd_close(playerid, params);
}
CMD:close(playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pBanished] == 1)
{
SendClientMessage(playerid, COLOR_GREY, "YOU CAN'T DO SHIT!");
return 1;
}
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /©lose [close chat text]");
return 1;
}
format(string, sizeof(string), "%s Says: %s", sendername, params);
ProxDetectorVw(3.0,playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
printf("%s", string);
}
return 1;
}
CMD:s(playerid, params[])
{
return cmd_shout(playerid, params);
}
CMD:shout(playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pBanished] == 1)
{
SendClientMessage(playerid, COLOR_GREY, "YOU CAN'T DO SHIT!");
return 1;
}
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/s)hout [local chat]");
return 1;
}
format(string, sizeof(string), "%s Shouts: %s!", sendername, params);
ProxDetectorVw(25.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2);