05.07.2010, 17:29
pawn Код:
printf("%s", GetName(playerid));
printf("%s", dini_Get(string, "Owner"));
if(!strcmp(GetName(playerid), dini_Get(string, "Owner"), true))
{
if(CarInfo[CarID][Engine] == 0)
{
CarInfo[CarID][Engine] = 1;
TogglePlayerControllable(playerid, 1);
}
}
else
{
SendClientMessage(playerid, Red, "You have no keys for this car.");
}