Need some help with this.
#6

Quote:
Originally Posted by (*|Flake|*)
this works thanks but

Код:
C:\Users\ELLIOT\Desktop\Cod-Sa v1.4a\gamemodes\lvdm.pwn(1288) : warning 219: local variable "string" shadows a variable at a preceding level
Line 1288:
Код:
string[1024];
new string[1024]; removed!!!!!!!!!! /delete new variable: new blablabla[1024];

pawn Код:
if(strcmp(cmdtext, "/about", true) == 0)
    {
        new
            info[] = {"Info Center \n The objective in this server is to help your team take over turf \n if you win the turf war you will receve a rocket launcher and 50000 \n you can view your commands buy typing /help and /commands" },
            info1[] = {" \n if you have seen a cheater/rule breaker use /report [ID] [REASON] \n you can anso turn on thr SAM site missile launchers neer A51 by going need them and typing /firesam [ID]" },
            info2[] = {" \n if you are having trouble with somthing or have seen a bug please tell a admin by tyoing /admins\n if you want to view the info about turf wars simply use /turfinfo" },
            blablabla[1024];
        format(blablabla, sizeof blablabla,"%s%s%s", info, info1, info2);
        ShowPlayerDialog(playerid, 40, 0, "Information center", blablabla, "Ok", "Cancel");
        return 1;
    }
Reply


Messages In This Thread
Need some help with this. - by Flake. - 22.02.2010, 07:33
Re: Need some help with this. - by Flake. - 22.02.2010, 08:11
Re: Need some help with this. - by dice7 - 22.02.2010, 08:17
Re: Need some help with this. - by smeti - 22.02.2010, 08:22
Re: Need some help with this. - by Flake. - 22.02.2010, 08:30
Re: Need some help with this. - by smeti - 22.02.2010, 08:36
Re: Need some help with this. - by Flake. - 22.02.2010, 08:43
Re: Need some help with this. - by Flake. - 22.02.2010, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)