01.11.2012, 13:34
Im working on CarSystem.
i have problem with dini_Get:
and it give me
Please Help me!!
i have problem with dini_Get:
Код:
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
dini_Create("carcheck.txt");
dini_Set("carcheck.txt" , "Playername" ,name)
if(name != dini_Get("carcheck.txt", "Playername"))
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,yellow,"GamexCarSystem: {FFFFFF}You not the owner");
}
else
{
SendClientMessage(playerid,yellow,"GamexCarSystem: {FFFFFF}You The owner);
}
Код:
error 033: array must be indexed (variable "name")


:
.