17.06.2016, 06:34
PHP Code:
CMD:sdm1(playerid){
new Random = random(sizeof(SDM1));
SetPlayerPos(playerid, SDM1[Random][0], SDM1[Random][1], SDM1[Random][2]);
SetPlayerFacingAngle(playerid, SDM1[Random][3]);
GameTextForPlayer(playerid,"~w~Welcome ~r~To ~g~Sniper ~p~DM ~y~Area-1.",3,5);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 20);
SetPlayerArmour(playerid, 0);
SetPlayerSkin(playerid,102);
GivePlayerWeapon(playerid, 34, 99999);
GivePlayerWeapon(playerid, 46, 1);
return 1;
}
CMD:cbdm1(playerid){
new Random = random(sizeof(SDM1));
SetPlayerPos(playerid, CBDM1[Random][0], CBDM1[Random][1], CBDM1[Random][2]);
SetPlayerFacingAngle(playerid, CBDM1[Random][3]);
GameTextForPlayer(playerid,"~w~Welcome ~r~To ~g~C-Bug ~p~DM ~y~Area-1.",3,5);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid,102);
GivePlayerWeapon(playerid, 24, 99999);
GivePlayerWeapon(playerid, 25, 99999);
GivePlayerWeapon(playerid, 34, 99999);
return 1;
}