What's the problem here?
#1

I don't see any problem Here.

Here is the errors:
pawn Код:
Roleplay.pwn(547) : error 001: expected token: ")", but found "["
Roleplay.pwn(547) : warning 215: expression has no effect
Roleplay.pwn(547) : error 001: expected token: ";", but found "]"
Roleplay.pwn(547) : error 029: invalid expression, assumed zero
Roleplay.pwn(547) : fatal error 107: too many error messages on one line
Here is the code:
pawn Код:
new j1text[30];
    switch(pInfo[targetid][pJob][1])
    {
        case 0:   { j1text = "Unemployed"; }
        case 1:   { j1text = "Taxi Driver"; }
        case 2:   { j1text = "Mechanic"; }
        case 3:   { j1text = "Pizza Boy"; }
    }
Reply


Messages In This Thread
What's the problem here? - by HeroDR22 - 01.06.2018, 15:03
Re: What's the problem here? - by GTLS - 01.06.2018, 15:18
Re: What's the problem here? - by HeroDR22 - 02.06.2018, 00:12
Re: What's the problem here? - by DarkSkull - 02.06.2018, 00:18
Re: What's the problem here? - by GTLS - 02.06.2018, 05:18

Forum Jump:


Users browsing this thread: 1 Guest(s)