check player name is vehicle owner name
#5

i didn't use dini at all !
but when you use dini_Int(File, "CarID") , this mean you have opened a file wich called "File" and get an integer from "CarID" value !
if you don't open a file, so you can't get integers and strings and...

if you pay attention:
pawn Код:
print("working");
if(GetPlayerVehicleID(playerid) == dini_Int(File, "CarID"))
{
  print("Working2"); // <---------------
  .............
you can't see "Working2" in consol.
so in this line:
pawn Код:
if(GetPlayerVehicleID(playerid) == dini_Int(File, "CarID"))
you have problem.
and your problem is that you didn't open any file to get information from it
i suggest you use MySQL or Y_ini
MYSQL is very good
Y_INI is better than Dini !
Good luck
Reply


Messages In This Thread
check player name is vehicle owner name - by dan40o - 21.12.2014, 18:35
Re: check player name is vehicle owner name - by dan40o - 22.12.2014, 19:59
Re: check player name is vehicle owner name - by M4D - 22.12.2014, 20:33
Re: check player name is vehicle owner name - by dan40o - 22.12.2014, 20:47
Re: check player name is vehicle owner name - by M4D - 22.12.2014, 20:59
Re: check player name is vehicle owner name - by Schneider - 22.12.2014, 21:01
Re: check player name is vehicle owner name - by dan40o - 22.12.2014, 21:10
Re: check player name is vehicle owner name - by M4D - 22.12.2014, 21:11
AW: Re: check player name is vehicle owner name - by Nero_3D - 22.12.2014, 21:13
Re: check player name is vehicle owner name - by dan40o - 23.12.2014, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)