02.04.2015, 14:19
(
Последний раз редактировалось Swift104; 02.06.2018 в 12:35.
)
...................................
ASK Cops And Robbers
Server IP:198.245.51.214:2222 Teamspeak IP:104.236.19.205 Web-Site:anas-copsandrobbers.proboards.com [Hiring Scripters and Mappers you chance to be pro and work with ASK Team is here] How to be a Scripter of ASK-CNR First you have to be a elite rank in Scripting/Mappers because we are not a unofficial samp server we are official and working for the peoples fun and happiness everything must be in pro level you should have to know how to talk with the players in proper grammar and you have to know every part of your work we need Scripters/Mappers that have the elite rank of Scripting/Mapping and every Scripters/Mappers must have to do the work of dream because its not about our community its about players happiness.  steps to be a Scripter/Mapper 1.Goto ASK website anas-copsandrobbers.proboards.com 2.Register your name on the website 3.Go on Staff Job Postings section 4.Click on Application Format for Developer (Scripter). 5.then follow the steps listed on Application Format for Developer (Scripter) About ASK ASK Cops And Robbers, or ASK-CNR for short, is a server and community for San Andreas Multiplayer (SA-MP), the multiplayer mod for Grand Theft Auto : San Andreas. About CNR CNR is a gamemode which expands upon Grand Theft Auto's original idea of committing crimes and avoiding or fleeing from law enforcement, however this time you're being chased by real people! As the name implies, Criminals and Police are the base of CnR, but we've added a whole world of things you can do around that, some legal and some not. Truck deliveries, growing drugs, fishing, buying clothes, buying houses, selling cars, these are just some of the things you can do on CnR. It's up to you, you can avoid the police and stay clean, or be a most wanted criminal with all the cops after you. You decide what you do and how you do it. And of course, you can be a police officer and work with other cops to help put the criminals in jail! Want to come try it out? Once you have Grand Theft Auto : San Andreas installed, you simply need to download and install San Andreas Multiplayer (SA-MP) (It's free). Then join our servers and have fun! Check out the F.A.Q. page for more information. We hope to see you in-game. CnR History CNR was started by ASK in March 2013 as a 32 player server for SAMP Although it wasn't the first server with maps dedicated to police vehicles chasing criminals Cops and Robbers style server on SA-MP, but one of the first servers altogether. Many of our ideas and features can be found in different gamemodes throughout sa-mp, things such as fishing and in-game. now with two 100-player servers, and a community which consists of thousands of people, ASK is still going strong. The gamemode has been updated regularly with new features, and the servers are now entirely supported by player donations. We're still working hard to provide a fun gaming experience for all of you! Thanks to everyone who's been a part of ASK. The Scripting Team These are the people who do coding for ASK: SAAD - Server Operation, Main Scripting Lucifer - Server Operation, External apps, webmaps, webstats, ... john boss. - Scripting Special Thanks ASK would like to thank these people: The SA-MP Team - For making SA-MP! Picem - for coding the full wensite of ASK Pyran -  domains Polce - Previous webhost All The Donating Players - For keeping ASK up and running for everyone ASK Christmas Update Submitted by SAAD on December 23, 2014 Happy Holidays everyone! It's that time of year once again, and you'll be happy to know that the ASK lagchot Christmas Update is now on the servers. Put on your Santa Hats and get ready to give out some gifts! As usual, the bots and admins will be giving out gifts to players. You can also type /tree near any Christmas Tree to receive a gift, and you might even encounter Santa himself! Players can also use /givegift to send gifts to other players. Finally, we've also added a 15% discount |
ASK Cops And Robbers
Server IP:198.245.51.214:2222 Teamspeak IP:104.236.19.205 Web-Site:anas-copsandrobbers.proboards.com [Hiring Scripters and Mappers you chance to be pro and work with ASK Team is here] How to be a Scripter of ASK-CNR First you have to be a elite rank in Scripting/Mappers because we are not a unofficial samp server we are official and working for the peoples fun and happiness everything must be in pro level you should have to know how to talk with the players in proper grammar and you have to know every part of your work we need Scripters/Mappers that have the elite rank of Scripting/Mapping and every Scripters/Mappers must have to do the work of dream because its not about our community its about players happiness.  steps to be a Scripter/Mapper 1.Goto ASK website anas-copsandrobbers.proboards.com 2.Register your name on the website 3.Go on Staff Job Postings section 4.Click on Application Format for Developer (Scripter). 5.then follow the steps listed on Application Format for Developer (Scripter) About ASK ASK Cops And Robbers, or ASK-CNR for short, is a server and community for San Andreas Multiplayer (SA-MP), the multiplayer mod for Grand Theft Auto : San Andreas. About CNR CNR is a gamemode which expands upon Grand Theft Auto's original idea of committing crimes and avoiding or fleeing from law enforcement, however this time you're being chased by real people! As the name implies, Criminals and Police are the base of CnR, but we've added a whole world of things you can do around that, some legal and some not. Truck deliveries, growing drugs, fishing, buying clothes, buying houses, selling cars, these are just some of the things you can do on CnR. It's up to you, you can avoid the police and stay clean, or be a most wanted criminal with all the cops after you. You decide what you do and how you do it. And of course, you can be a police officer and work with other cops to help put the criminals in jail! Want to come try it out? Once you have Grand Theft Auto : San Andreas installed, you simply need to download and install San Andreas Multiplayer (SA-MP) (It's free). Then join our servers and have fun! Check out the F.A.Q. page for more information. We hope to see you in-game. CnR History CNR was started by ASK in March 2013 as a 32 player server for SAMP Although it wasn't the first server with maps dedicated to police vehicles chasing criminals Cops and Robbers style server on SA-MP, but one of the first servers altogether. Many of our ideas and features can be found in different gamemodes throughout sa-mp, things such as fishing and in-game. now with two 100-player servers, and a community which consists of thousands of people, ASK is still going strong. The gamemode has been updated regularly with new features, and the servers are now entirely supported by player donations. We're still working hard to provide a fun gaming experience for all of you! Thanks to everyone who's been a part of ASK. The Scripting Team These are the people who do coding for ASK: SAAD - Server Operation, Main Scripting Lucifer - Server Operation, External apps, webmaps, webstats, ... john boss. - Scripting Special Thanks ASK would like to thank these people: The SA-MP Team - For making SA-MP! Picem - for coding the full wensite of ASK Pyran -  domains Polce - Previous webhost All The Donating Players - For keeping ASK up and running for everyone ASK Christmas Update Submitted by SAAD on December 23, 2014 Happy Holidays everyone! It's that time of year once again, and you'll be happy to know that the ASK lagchot Christmas Update is now on the servers. Put on your Santa Hats and get ready to give out some gifts! As usual, the bots and admins will be giving out gifts to players. You can also type /tree near any Christmas Tree to receive a gift, and you might even encounter Santa himself! Players can also use /givegift to send gifts to other players. Finally, we've also added a 15% discount |
enum tinfo
{
turfID,
turfName[ 40 ],
cityName[ 40 ],
Float:zMinX,
Float:zMinY,
Float:zMaxX,
Float:zMaxY,
TurfColor[ 40 ],
TurfOwner[ 40 ],
TurfAttacker,
TurfKills,
TurfAttackKills,
TurfWarStarted,
MIT
}
new turfs[MAX_TURFS][tinfo] = {
{ 0, "Grove Street", "LS", 2440.60, -1629.70, 2540.90, -1723.70, COLOR_GREEN, TEAM_GROVE, -1, 0, 0, 0, 0},
{ 1, "Ganton", "LS", 2440.60, -1629.70, 2226.30, -1723.70, COLOR_GREEN, TEAM_GROVE, -1, 0, 0, 0, 0},
{ 2, "Idlewood", "LS", 1812.60, -1852.80, 1971.60, -1742.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 3, "Idlewood", "LS", 1951.60, -1742.30, 2124.60, -1602.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 4, "Idlewood", "LS", 1812.60, -1602.30, 2124.60, -1449.60, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 5, "Idlewood", "LS", 2124.60, -1742.30, 2222.50, -1494.00, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 6, "Idlewood", "LS", 1971.60, -1852.80, 2222.50, -1742.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 7, "Idlewood", "LS", 1812.60, -1742.30, 1951.60, -1602.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 8, "Willow Field", "LS", 1970.60, -2179.20, 2089.00, -1852.80, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 9, "Willow Field", "LS", 2089.00, -1989.90, 2324.00, -1852.80, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 10, "Willow Field", "LS", 2089.00, -2235.80, 2201.80, -1989.90, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 11, "Jefferson", "LS", 2056.80, -1372.00, 2281.40, -1210.70, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 12, "Jefferson", "LS", 2056.80, -1210.70, 2185.30, -1126.30, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 13, "Jefferson", "LS", 2056.80, -1449.60, 2266.20, -1372.00, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 14, "East Los Santos", "LS", 2421.00, -1628.50, 2632.80, -1454.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0}
};
new TurfInfo[MAX_TURFS][MAX_TEAMS][tinfo];
forward SaveTurfs();
public SaveTurfs()
{
new idx;
new File: file2;
while (idx < sizeof(turfs))
gTeam[idx] = turfs[idx][TurfOwner];
{
new coordsstring[512];
format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%d|%d|%d|%d|%f|%d|%d|%d|%d|%d|%d___________________\n",
turfs[idx][turfID],
turfs[idx][turfName],
turfs[idx][cityName],
turfs[idx][zMinX],
turfs[idx][zMinY],
turfs[idx][zMaxX],
turfs[idx][zMaxY],
turfs[idx][TurfColor],
turfs[idx][TurfOwner],
turfs[idx][TurfAttacker],
turfs[idx][TurfKills],
turfs[idx][TurfAttackKills],
turfs[idx][TurfWarStarted],
turfs[idx][MIT]);
if(idx == 0)
{
file2 = fopen("Factions/Turfs.ini", io_write);
}
else
{
file2 = fopen("Factions/Turfs.ini", io_append);
}
fwrite(file2, coordsstring);
idx++;
fclose(file2);
}
return 1;
}
forward LoadTurfs();
public LoadTurfs()
{
new arrCoords[14][256];
new strFromFile2[256];
new File: file = fopen("Factions/Turfs.ini", io_read);
if (file)
{
new playerid;
while (playerid < sizeof(turfs))
{
fread(file, strFromFile2);
split(strFromFile2, arrCoords, '|');
turfs[playerid][turfID] = strval(arrCoords[0]);
strmid(turfs[playerid][turfName], arrCoords[1], 0, strlen(arrCoords[0]), 255);
strmid(turfs[playerid][cityName], arrCoords[2], 0, strlen(arrCoords[0]), 255);
turfs[playerid][zMinX] = strval(arrCoords[3]);
turfs[playerid][zMinY] = strval(arrCoords[4]);
turfs[playerid][zMaxX] = strval(arrCoords[5]);
turfs[playerid][zMaxY] = strval(arrCoords[6]);
strmid(turfs[playerid][TurfColor], arrCoords[7], 0, strlen(arrCoords[0]), 255);
strmid(turfs[playerid][TurfOwner], arrCoords[8], 0, strlen(arrCoords[0]), 255);
turfs[playerid][TurfAttacker] = strval(arrCoords[9]);
turfs[playerid][TurfKills] = strval(arrCoords[10]);
turfs[playerid][TurfAttackKills] = strval(arrCoords[11]);
turfs[playerid][TurfWarStarted] = strval(arrCoords[12]);
turfs[playerid][MIT] = strval(arrCoords[13]);
playerid++;
}
fclose(file);
}
return 1;
}
[MySQL] Error (0): Failed to exeute query. MySQL server has gone away. [MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. MySQL server has gone away. [MySQL] Error (0): Function: mysql_num_rows called when no result stored. MySQL server has gone away. |