26.07.2015, 09:35
Quote:
|
Oh.. Thanks.. You Both guys helped me a lot..
Well, can you tell me that How to Return a String..For eg. Returing a string in switch statements? If case 1 then return Red, if case 2 then return Blue Should I do format ? |
pawn Код:
stock returncolor(color)
{
new Col[5];
switch(color)
{
case 1: Col = "Red";
case 2: Col = "Blue";
}
return Col;
}


