Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:dm(playerid, params[])
- {
- new id;
- if(isnull(params)) return SendClientMessage(playerid, -1, "Deathmatch: /dm <1-5>"); // You can change it later
- id = strval(params);
- if(InDM[playerid] == 1) return SendClientMessage(playerid, -1, "You are already in the Deathmatch");
- switch(id)
- {
- case 1:
- {
- new rand1 = random(sizeof(DeathmatchLVPD));
- CreateDM(
- playerid, DeathmatchLVPD[rand1][0], DeathmatchLVPD[rand1][1], DeathmatchLVPD[rand1][2], DeathmatchLVPD[rand1][3], 100, 100, 24, 25, 3 , 0, 1); // 28 = Micro/UZI and 25 = Shotgun
- {
- case 2:
- {
- new rand1 = random(sizeof(DeathmatchJeffersonMotel));
- CreateDM(
- playerid, DeathmatchJeffersonMotel[rand1][0], DeathmatchJeffersonMotel[rand1][1], DeathmatchJeffersonMotel[rand1][2], DeathmatchJeffersonMotel[rand1][3], 100, 100, 24, 25, 15, 0, 1);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement