Author Topic: i got Stucked  (Read 4035 times)

0 Members and 1 Guest are viewing this topic.

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
i got Stucked
« on: April 28, 2011, 02:22:28 pm »
Quote
*:***\******\*****\****HLDS.pwn(692) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(693) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(695) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(866) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(904) : warning 213: tag mismatch

Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


5 Warnings.

quote that Gives this Is:
Lines (692 , 693 , 695)
for 3 warnings:
Quote
else if (strcmp(cmd, "maplist", true) == 0) {
          
      new conty[1024];
      new filepathz[256];
         format(filepathz,sizeof(filepathz),"/MiniWar/Mapslist.ini");
    if(fexist(filepathz)) {
      new fileoo;
692      fileoo = fopen(filepathz,io_read);
693      fread(fileoo,conty,1204);
            SendClientMessage(playerid,COLOR_YELLOW,conty);
695      fclose(fileoo);
   }
      return 1;
      }
other Line (866)
Quote
866   else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}

Line (904)

Quote
904   else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}


I got Really Stucked at these Warnings Please Fix them
« Last Edit: April 28, 2011, 03:46:22 pm by StriKe »
Outdoor city server Administrator, FS server owner!

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: i got Stucked
« Reply #1 on: April 28, 2011, 10:39:24 pm »
Quote
*:***\******\*****\****HLDS.pwn(692) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(693) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(695) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(866) : warning 213: tag mismatch
*:***\******\*****\****HLDS.pwn(904) : warning 213: tag mismatch

Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


5 Warnings.

quote that Gives this Is:
Lines (692 , 693 , 695)
for 3 warnings:
Quote
else if (strcmp(cmd, "maplist", true) == 0) {
         
      new conty[1024];
      new filepathz[256];
         format(filepathz,sizeof(filepathz),"/MiniWar/Mapslist.ini");
    if(fexist(filepathz)) {
      new fileoo;
692      fileoo = fopen(filepathz,io_read);
693      fread(fileoo,conty,1204);
            SendClientMessage(playerid,COLOR_YELLOW,conty);
695      fclose(fileoo);
   }
      return 1;
      }
other Line (866)
Quote
866   else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}

Line (904)

Quote
904   else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}


I got Really Stucked at these Warnings Please Fix them

new fileoo;

To use fopen, you have to specifically say the variable's a file. Use new File:fileoo;
Do not PM me for support.




Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: i got Stucked
« Reply #2 on: April 28, 2011, 11:21:22 pm »
Thanks Stormeus 

File:fileoo

and wat about other two
Outdoor city server Administrator, FS server owner!

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: i got Stucked
« Reply #3 on: April 28, 2011, 11:29:25 pm »
Thanks Stormeus 

File:fileoo

and wat about other two

Post the code for new plrteam
Do not PM me for support.




Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: i got Stucked
« Reply #4 on: April 28, 2011, 11:41:54 pm »
OK i got it :)
I was just Spellings mistake Like
Terrorist was Terroristz
Outdoor city server Administrator, FS server owner!

Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: i got Stucked
« Reply #5 on: April 30, 2011, 08:03:08 pm »
866    if(plrteam[playerid][Terrorist] == 0) SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");
else {
   //whatever you want to put here
}
return 1;

the same with the other line




Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: i got Stucked
« Reply #6 on: April 30, 2011, 08:12:53 pm »
I SAID I GOT IT SO ....Thanks any way But i Already got it You can't read? I am Pro In Scripting Just Forgot File Thing Not Your One :P no  SPAM PLEASE
Outdoor city server Administrator, FS server owner!

Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: i got Stucked
« Reply #7 on: May 01, 2011, 10:29:16 am »
I SAID I GOT IT SO ....Thanks any way But i Already got it You can't read? I am Pro In Scripting Just Forgot File Thing Not Your One :P no  SPAM PLEASE
GOSH yes i can read..... then lock the topic if u already got it >_ <