03.10.2011, 08:51
pawn Код:
// Game mode init ( This will be for police and gangs, you can change )
AddPlayerClass(280,1579.0623,-1636.2430,13.5601,92.9449,24,500,32,800,31,1000);//p1
AddPlayerClass(286,1579.0623,-1636.2430,13.5601,92.9449,24,500,32,800,31,1000);//p2
AddPlayerClass(285,1579.0623,-1636.2430,13.5601,92.9449,24,500,32,800,31,1000);//p3
AddPlayerClass(165,1579.0623,-1636.2430,13.5601,92.9449,24,500,32,800,31,1000);// p4
AddPlayerClass(120,1130.2954,-2037.3755,69.0078,269.8708,30,1000,25,200,28,800); // g5
AddPlayerClass(104,1130.2954,-2037.3755,69.0078,269.8708,30,1000,25,200,28,800); // g6
AddPlayerClass(107,1130.2954,-2037.3755,69.0078,269.8708,30,1000,25,200,28,800); // g7
AddPlayerClass(248,1130.2954,-2037.3755,69.0078,269.8708,30,1000,25,200,28,800); // g8
// Request class
public OnPlayerRequestClass(playerid, classid)
{
if (classid == 0||classid == 1||classid == 2||classid == 3) {
GameTextForPlayer(playerid,"~bl~Police",2000,3);
}
if (classid == 4||classid == 5||classid == 6||classid == 7) {
GameTextForPlayer(playerid,"~g~Gangs",2000,3);
}
return 1;