/park - tag mismatch on new File:cFile....
#1

I made this CMD for a FS of Car Ownership I got.
here is the Pastebin:
http://pastebin.com/f55577b60
here is the problem:
Код:
C:\Documents and Settings\User\Desktop\SAMP GameMode\filterscripts\VOS.pwn(10) : warning 213: tag mismatch
C:\Documents and Settings\User\Desktop\SAMP GameMode\filterscripts\VOS.pwn(31) : warning 213: tag mismatch
C:\Documents and Settings\User\Desktop\SAMP GameMode\filterscripts\VOS.pwn(32) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Changed the Warning Lines according to the Pastebin!

I have all Defines in my script, Where is the problem? can someone help?

Reply
#2

This probably wont fix your problem, But you need to change this
pawn Код:
new oName = GetPlayerName(playerid, pName, sizeof(pName));
to this
pawn Код:
new oName[MAX_PLAYER_NAME];
GetPlayerName(playerid, oName, sizeof(oName));
Also
try using new File: instead of new file:
Reply
#3

The file tag uses a capital first letter.

So change...

new file:cFile = fopen(CARMOD_FILE_LOC, io_append);

to

new File:cFile = fopen(CARMOD_FILE_LOC, io_append);
Reply
#4

lol kc, I edited my post with what you said the second before you posted
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)