error 002: only a single statement (or expression) can follow each "case"
#2

you might havent close switch and case 1
PHP код:
switch(id)
    {
        case 
1:
        {
            new 
rand1 random(sizeof(DeathmatchLVPD));
            
CreateDM(
            
playeridDeathmatchLVPD[rand1][0], DeathmatchLVPD[rand1][1], DeathmatchLVPD[rand1][2], DeathmatchLVPD[rand1][3], 100100242501); // 28 = Micro/UZI and 25 = Shotgun
        
// << here
        
case 2:
        {
            new 
rand1 random(sizeof(DeathmatchJeffersonMotel));
            
CreateDM(
            
playeridDeathmatchJeffersonMotel[rand1][0], DeathmatchJeffersonMotel[rand1][1], DeathmatchJeffersonMotel[rand1][2], DeathmatchJeffersonMotel[rand1][3], 10010024251501);
            }
    
// here
return 1
you can refer it

PHP код:
switch(id)
{
    case 
1:
    {
    }
    case 
2:
    {
    }

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)