04.05.2009, 02:02
Код:
if(strcmp(cmd, "/robbank", true) == 0)
{
if(PlayerInfo[playerid][pLocal] == 103 || PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "You have 5 seconds before the cops are alerted.");
SetTimer("RobBankCop", 50000, 0);
{
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
SafeGivePlayerMoney(playerid, 1000000);
GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
(
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
SendClientMessageToAll(COLOR_RED, "!!!!!!THE BANK IS IN DISTRESS!!!!!!");
{
{
{
{
{
{
return 1;
}

