Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: BIG[H] on April 28, 2011, 02:22:28 pm
-
*:***\******\*****\****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:
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)
866 else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}
Line (904)
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
-
*:***\******\*****\****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:
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)
866 else if(plrteam[playerid][Terrorist] == 0) {SendClientMessage(playerid,COLOR_YELLOW,"Only Terrorist Can Plant BOMB");}
Line (904)
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;
-
Thanks Stormeus
File:fileoo
and wat about other two
-
Thanks Stormeus
File:fileoo
and wat about other two
Post the code for new plrteam
-
OK i got it :)
I was just Spellings mistake Like
Terrorist was Terroristz
-
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
-
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
-
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 >_ <